Maybe the default culture is not properly set on the user.
Could you try to set it manually in an action displaying dates ?
$this-getUser()-setCulture('es_AR');
2010/11/26 hrajchert hrajch...@gmail.com
Hi, i live in Argentina and speak spanish, so my default culture is
es_AR.
Ive setted
And what's the problem ? You did tell us the expected result but not the
current result. It will be hard to guess what's wrong ^^
If the problem is the .html missing at the end, you have to look for a
parameter generate_shortest_url in the factories.yml and set it to false.
2010/11/24
The database name you put as the argument of getDatabase method has to be
the name in the database.yml file, not the actual database name.
By default, it's doctrine or propel depending of the ORM you're using.
2010/11/16 man mixi mixi...@gmail.com
When there is access to external systems,
http://www.doctrine-project.org/projects/orm/1.2/docs/manual/behaviors/en#core-behaviors:i18n
The default length for the lang column generated by Doctrine is 2, I think
that's the reason of your problem.
So, you can just use the language in symfony if you don't need to provide
different
You should be able to do this by overloading the template
_list_td_actions.php (
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_templates_customization
).
Just copy the generated one (it's in the cache folder) in your module
directory, and add your code.
--
Pierre-Yves
I think the response is simply No.
DQL does not rely on the structure of the database but only on the generated
model files before actually querying the database. You have to define
relationships in order to have a correctly generated model and then Doctrine
will be able to parse you DQL query to
to the doctrine.configure_connection event, and test
the sf_environment setting to set the query cache you want ?
2010/10/22 bzarzuela bzarzu...@gmail.com
I've done that as well but sadly, it didn't work.
On Oct 21, 9:13 pm, Pierre-Yves LEBECQ py.leb...@gmail.com wrote:
Ok, what about adding an indentation
for sfDoctrineDatabase.class.php already has the logic to get
it from the environment's configuration. The only question now is
*where* to put the configuration.
On Oct 20, 4:37 pm, Pierre-Yves LEBECQ py.leb...@gmail.com wrote:
In your ProjectConfiguration class (/config), you can add
On 12 October 2010 09:39, Pierre-Yves LEBECQ py.leb...@gmail.com wrote:
Did you try to instanciate the sfClearCacheTask and run it ? I see no
reason for this not to work.
$ccTask = new sfClearCacheTask();
$ccTask-run();
--
Pierre-Yves LEBECQ
2010/10/12 Sela Yair tzi...@gmail.com
You can instanciate your task class and run it directly from your action.
public function executeMyAction(sfWebRequest $request)
{
chdir(sfConfig::get('sf_root_dir')); // You may need that
$myTask = new myTask($this-dispatcher, new sfFormatter());
$myTask-run(array('argument' = 'value'),
Did you put the good parameters in your factories.yml ?
dev:
mailer:
param:
delivery_strategy: none
transport:
class: Swift_NullTransport
On 12 oct, 07:25, bzarzuela bzarzu...@gmail.com wrote:
A simple call to $mailer-composeAndSend is driving me nuts.
public
Did you try to instanciate the sfClearCacheTask and run it ? I see no reason
for this not to work.
$ccTask = new sfClearCacheTask();
$ccTask-run();
--
Pierre-Yves LEBECQ
2010/10/12 Sela Yair tzi...@gmail.com
is there a single command in sfConfigCache to clear all the cache?
i want
I would go in a very simple way :
In your model class Profile, you could add a method which retrieves the PDO
connection from doctrine and query the user table directly. It could look
like this :
class Profile extends BaseProfile
{
public function getUser()
{
$dbh =
13 matches
Mail list logo