[symfony-users] Re: ORDER BY insists on using sort_order

2010-02-06 Thread michael hodges
Problem resolved by creating a whole new project directory and starting over. I was able to copy all generator.yml files, partials, etc without making any changes and everything runs fine. The only thing that I can think of that created the misbehavior in the previous project was the fact that I

Re: [symfony-users] Adding a doctrine listener from a plugin

2010-02-06 Thread Stéphane
Is this helping ? http://www.doctrine-project.org/documentation/manual/1_1/_chapter_lang/event-listeners#connection-listeners:enabling/disabling-listeners Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!

[symfony-users] Re: sfRoute::serialize() must return a string or NULL

2010-02-06 Thread HiDDeN
Solved! This is due to the segment separator. By default, the separators are / and ., so the - has to be added. I just added this to options: segment_separators: [/,.,-] On 5 feb, 18:24, HiDDeN davidmoralesmoj...@gmail.com wrote: I'm having this error when I call this kind of route:

[symfony-users] Re: Question about a variable in the URL

2010-02-06 Thread HiDDeN
I'd like to generate an URL like this one: /MyCategory/MySubCategory/page2.html I have tried to do it this way: my_route: url: /:variable1/:variable2/literal:variable3.html But Symfony outputs this: /MyCategory/MySubCategory/page:variable3.html How could I solve this? On 6 feb, 00:05,

[symfony-users] I18n on admin generator filters

2010-02-06 Thread Fabrizio
Hi, I have created a form with I18n with the admin generator. By default in the filter section not appear the fields I18n. How do I add them in the filters? -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to

[symfony-users] Re: [sf1.4] symfony project:deploy dry-run no output

2010-02-06 Thread ev...@freshheads.com
Hi Augusto, ok indeed. Will take a look at that one too, thanks for pointing that out! Gr! On 5 feb, 05:32, Augusto Flavio afla...@gmail.com wrote: Hi Evert. there is no relation with error_reporting with the deploy using the argument --dry-run. The problem that is see is in the class that

[symfony-users] Changing where sfDoctrineGuard login form is

2010-02-06 Thread ReynierPM
Hi: I want to change the position of the form generated by sfDoctrineGuard plugin to the header of my page. Does any body knows if this is possible? Can I use a partial to do this? -- Cheers and thanks in advance ReynierPM -- You received this message because you are subscribed to the Google

[symfony-users] Re: appropriate way to insert form value before validation?

2010-02-06 Thread Richtermeister
I would just merge the account_id into the array that you pass to the bind() method. That way it looks to the form as if the value had been submitted. To keep validation in place, only unset the widget, not the validator. Daniel On Feb 5, 2:06 pm, kris chant ch...@supersharpshooter.net wrote:

[symfony-users] Re: I18n on admin generator filters

2010-02-06 Thread Fabrizio
Resolved! I have manually add the fields to the form filter and a where in the query On 6 Feb, 14:45, Fabrizio fabrizio.pucci...@gmail.com wrote: Hi, I have created a form with I18n with the admin generator. By default in the filter section not appear the fields I18n. How do I add them in

[symfony-users] Re: Question about a variable in the URL

2010-02-06 Thread Marek
Hi, what you want is not possible with symfony, there must be separator between literal and variable. If you don't like slash there you can use other character, just set it in config/factories.yml: all: routing: class: sfPatternRouting param: generate_shortest_url:

[symfony-users] Looking to hire experienced Symfony developer

2010-02-06 Thread emitind
Hi all Not sure where to post this, or where to look specifically for Symfony developers, so I though this might get the best response. I have a large CMS project using Symfony, which has been in development the last 8 months. Unfortuantly my previous symfony coder has had to leave, and there are

Re: [symfony-users] How to properly override Doctrine_Record::delete()?

2010-02-06 Thread Absalón Valdés
hi. you can use a event handler adn the catch delete execution, e.g: class backendConfiguration extends sfApplicationConfiguration { public function configure() { $this-dispatcher-connect('admin.delete_object', array($this,'xmethod')); } public function xmethod(sfEvent $event) {

[symfony-users] Problem - Fatal error: Call to undefined function link_to()

2010-02-06 Thread Rodrigo Prado
Good Morning. I haved a problem. I tried to use the function link_to(): portalcepai\apps\frontend\modules\teste\actions\actions.class.php ?php class testeActions extends sfActions { public function executeIndex(sfWebRequest $request) { echo link_to(Create Account, sfApply/apply); } }

[symfony-users] Re: ORDER BY insists on using sort_order

2010-02-06 Thread michael hodges
Problem not resolved after all. The progress made is that symfony does not insist on sorting by sort_order any longer, but for all classes the generator ignores anything I specify for the sort statement in the generator.yml file. While experimenting I created a sort: bogusvvv entry in a