[symfony-users] Re: ahDoctrineEasyEmbeddedRelationsPlugin csrf

2010-06-15 Thread DC
lidator('_csrf_token')->setOption('required', false); > > > Cheers, > > > Before Printing, Think about Your Environmental Responsibility! > > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > > On Tue, Jun 15, 2

[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 conf

[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 va

[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 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 > >     $this->

[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 y

[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] Re: jobeet tutorial backend app problem

2009-09-05 Thread dc
: > > Did you build-all or build-form? > Have you cleared the cache? > > These would be the two main reasons which might cause/solve this > > Stefan > > > > On Fri, Sep 4, 2009 at 11:21 PM, dc wrote: > > > Hello, > > > I'm approximately followi

[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 --escaping-strateg

[symfony-users] Re: Cookie user session

2008-05-02 Thread DC
gt;class: sfSessionStorage >param: > session_name: my_cookie_name > 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. > > >

[symfony-users] Re: Cookie user session

2008-04-29 Thread DC
ach time a user visits > the site, "log them 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.

[symfony-users] Re: Cookie user session

2008-04-29 Thread DC
n Apr 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

[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 subs

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

2007-10-31 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). I

[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 http://site/da

[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 http://site/da