[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin csrf

2010-06-15 Thread DC
Hello. I`m using ahDoctrineEasyEmbeddedRelationsPlugin in the amin part of my app. My problem is I still get the CSRF attack errors whenever I want to save, even though I added $this-disableLocalCSRFProtection(); to ALL of my form filters. Can anyone help? Also, I can`t figure out how to

[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin csrf

2010-06-15 Thread DC
('required', false); Cheers, Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Tue, Jun 15, 2010 at 5:24 PM, DC ciprian.dob...@gmail.com wrote: Hello. I`m using ahDoctrineEasyEmbeddedRelationsPlugin

[symfony-users] sfWidgetFormInputHidden is not visible

2010-06-11 Thread DC
I`m using: $this-widgetSechema['user_id'] = new sfWidgetFormInputHidden(); $this-setDefault('user_id', sfContext::getInstance()-getUser()- getGuardUser()-getId()); in order for the user_id field to be invisible, and automatically populated, but instead it shows as a text input, with the value

[symfony-users] sfJqueryTreeDoctrineManagerPlugin events

2010-06-10 Thread DC
Does anyone know how I can trigger the Category::save() event every time I create a new category? That is, assumming I`m using Category as the nested model. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] Re: Redirecting to filtered admin page

2010-02-02 Thread DC
Thank you very much! It worked flawlessly! On Feb 2, 10:03 am, Florian sideral.undergro...@gmail.com wrote: Hi DC, When I want to do that, i need to disable the csrf check by configuring thefilterform like this: // in the configure() method of your *FormFilter

[symfony-users] admin redirect

2010-02-01 Thread DC
Hello, I've been spending about 2 hours trying to figure out how to implement something like this. I have the following tables: Make: id, name Model: id, name, make_id In the admin backend, on the makes list, I want for each Make entry, a list to all Models for that make this: public function

[symfony-users] Redirecting to filtered admin page

2010-02-01 Thread DC
Can anyone tell me how to redirect from an admin list item to another admin list, filtering the second one by secondList.firstListItem_id = firstListItem.id ? I can't, for the life of me, get over the CSRF attack detected message! Please help me, Thanks. -- You received this message because

[symfony-users] Re: jobeet tutorial backend app problem

2009-09-05 Thread dc
Thank you for your answer. It helped a lot. I run build-forms which did not do solve my problem, then I run build-filters and after cache-clear all works, thank you. --Dan On Sep 4, 11:28 pm, Stefan Koopmanschap stefan.koopmansc...@symfony- project.com wrote: Hi, Some basic checks to make

[symfony-users] jobeet tutorial backend app problem

2009-09-04 Thread dc
Hello, I'm approximately following the jobeet (propel) tutorial using my own database. I went through the frontend application development and it all works as expected. Now I wanted to try the backend part of the tutorial so I created the app by running: ./symfony generate:app

[symfony-users] Re: Cookie user session

2008-05-02 Thread DC
session_cookie_lifetime: 1209600 jbw On Tue, Apr 29, 2008 at 8:03 AM, DC [EMAIL PROTECTED] wrote: I'm trying to keep users logged in for 2 weeks. I've changed the timeout setting to 2 weeks (sf_timeout: 1209600), but the symfony cookie expires at the end of the session. Any way I can

[symfony-users] Cookie user session

2008-04-29 Thread DC
I'm trying to keep users logged in for 2 weeks. I've changed the timeout setting to 2 weeks (sf_timeout: 1209600), but the symfony cookie expires at the end of the session. Any way I can fix that? --~--~-~--~~~---~--~~ You received this message because you are

[symfony-users] Re: Cookie user session

2008-04-29 Thread DC
29, 6:05 pm, Tom Haskins-Vaughan [EMAIL PROTECTED] wrote: My understanding is that the user session will timeout either when a user closes his/her browser or when the time limit has expired. I think you want to create a separate cookie, i.e. not the session cookie. DC wrote: I'm trying

[symfony-users] Re: Cookie user session

2008-04-29 Thread DC
in automatically using the user id stored in the cookie. DC wrote: Exactly. I was thinking maybe I can change that, so that user session will only expire on timeout, and not when users close their browser. The symfony cookie's default expire is set to zero. What I wanna know is, would changing

[symfony-users] Re: action cache with routing params

2007-11-01 Thread DC
Thank you for your input. I`ve tried several methods, but still no go, with filters and such. I`m going to give it a try with /:stripped_city_title but I`m concerned about the routing system discerning between a city name and other urls (ex: /about_us where About Us may be a sci-fi city name).

[symfony-users] action cache with routing params

2007-10-30 Thread DC
Hi, I had to implement the current routing system city_columbus: url: /columbus param: { module: city, action: show, id: 3807 } city_dallas: url: /dallas param: { module: city, action: show, id: 3800 } The problem is, if I first request: http://site/columbus and then

[symfony-users] action cache with routing params

2007-10-30 Thread DC
Hi, I had to implement the current routing system city_columbus: url: /columbus param: { module: city, action: show, id: 3807 } city_dallas: url: /dallas param: { module: city, action: show, id: 3800 } The problem is, if I first request: http://site/columbus and then