[symfony-users] Re: Dynamic security.yml

2009-04-10 Thread HAUSa
Hmmm... that does make sense. I'll take it into practice, thx! On 9 apr, 22:31, Richtermeister nex...@gmail.com wrote: Hi Hausa, maybe I'm wrong but it seems that you're going about it backwards.. Instead of dynamically controlling what permissions are required, you should just set those

[symfony-users] iframe + how to redirect forward

2009-04-10 Thread Guychmyrat Amanmyradov
Hello. I have a function signup and i opened it on iframe. when the action finishes successfully, i use redirect function, it still opened in iframe. how  can i close the iframe and oopen as normal page ? ___ Yahoo! Türkiye

[symfony-users] I have a question about csrf protection in links.

2009-04-10 Thread dziobacz
I have read about csrf protection but I still don't understand everything. I have in settings.yml: csrf_secret: secret12 I have something like that in template: User A adds user B to fiends. User B can accept it - then I have link: a href=/profile/users/accept/?php echo $z-getId() ?

[symfony-users] Re: Accessing doctrine route object in layout.php

2009-04-10 Thread Campezzi
Hey Tom! I understand what you're trying to do now! I'm not sure if there's a way to do that, but I'll run some tests and let you know the results. Meanwhile, an alternate solution would be to consider using partials and/or components on your layout.php file. That way, you'll be able to update

[symfony-users] Re: Accessing doctrine route object in layout.php

2009-04-10 Thread Tom Haskins-Vaughan
Thanks, Thiago. I'll give a little more background below but here's what I have so far: I have a component in layout.php which accesses the property as follows: // in frontend/modules/property/actions/components.class.php public function executeNavigation() { $request =

[symfony-users] How add a method_for_criteria in a sfPropelRouteCollection

2009-04-10 Thread Arsouille
Hi, This is an extract of my routing.yml file : evolution: class: sfPropelRouteCollection options: model: oxEvolution method_for_criteria: doSelectJoinoxProject What i want is add a method_for_criteria to my index action. But i don't know how to do. Thanks for your help.

[symfony-users] Freeze problem in symfony 1.2.4

2009-04-10 Thread Alireza
Hi, When trying to freeze a project in symfony 1.2.4. It first said that web/sf must be empty. When I erased this dir, the freeze process began. But after a while, It stopped with error in plugin:publish-assets (Too many arguments) . As I have understood It has given symfony's path as argument