Re: [symfony-users] Trying to redirect a user to a login page with ajax: 401 unauthorized

2010-07-31 Thread Daniel Lohse
Take a look at how they did this in the apostrophePlugin (trac.apostrophenow.org/plugins/apostrophePlugin/branches/1.4) – it involved a 2-stage process. :) Cheers, Daniel PS: Sorry for being so succinct – I'm pretty tired but wanted to point you in the right direction. :) On 01.08.2010, at 0

[symfony-users] Trying to redirect a user to a login page with ajax: 401 unauthorized

2010-07-31 Thread Tristan
Hello in my action.class.php i've got something like : if ($request->isXmlHttpRequest()) { if ($this->getUser()->isAuthenticated()) { .. }else{ $this->redirect('sfGuardAuth/signin'); } }

[symfony-users] Re: Timestampable

2010-07-31 Thread comb
Well I need the updated_at field if some other fields are updated. Only the views-field should not generate a change of the updated_at.. On Jul 30, 4:08 pm, Aldaron wrote: > If you don't need to auto update this field then you should not use > timestampable.. > Try to set the update_at field ins

[symfony-users] 2 hours spent on : Unknown record property / related component "fullname" on "sfGuardUserProfile"

2010-07-31 Thread Tristan
Hello, i'm close to shoot a bullet in my head, i've spent 2 plain hours on it : Right after creating a new account with sfForkedDoctrineApplyPlugin, i keep getting this error : Unknown record property / related component "fullname" on "sfGuardUserProfile" It happens when i click on create an a

[symfony-users] Re: How to turn off filters in admin generator?

2010-07-31 Thread halfer
halfer wrote: > Tom Ptacnik wrote: > > generator: > > param: > > config: > > filter: > > class: false > > > > Works for me. > > Thanks both for your replies. I should have mentioned that my > generator.yml is in a module called sfGuardUser in my frontend > application, and is in

Re: [symfony-users] Re: How to turn off filters in admin generator?

2010-07-31 Thread Daniel Lohse
It could be that you'll need to do this outside of the generator.yml and directly in the generated PHP files. Take a look at the cache for this module (auto...Module in the cache folder) and there you'll find a method for the filter form to use. Go look into the lib folder of your admin-generate

[symfony-users] Re: How to turn off filters in admin generator?

2010-07-31 Thread halfer
Tom Ptacnik wrote: > generator: > param: > config: > filter: > class: false > > Works for me. Thanks both for your replies. I should have mentioned that my generator.yml is in a module called sfGuardUser in my frontend application, and is intended to override the generator in s

[symfony-users] Jobeet - Day 6 Issue.

2010-07-31 Thread Mauricio Rivera Schneider
Hello, I'm working with the Jobeet tutorial and I'm having a little problem in *day 6*. Everything works fine until I get to the "Secure the Job Page" section. I added the code to the files just like t

[symfony-users] Jobeet - Day 6 problem.

2010-07-31 Thread Mauricio Rivera Schneider
Hello, I'm working with the Jobeet tutorial and I'm having a little problem in *day 6*. Everything works fine until I get to the "Secure the Job Page" section. I added the code to the files just like t

[symfony-users] Re: How to turn off filters in admin generator?

2010-07-31 Thread Tom Ptacnik
generator: param: config: filter: class: false Works for me. On 30 čnc, 18:09, halfer wrote: > Hi all > > I've discovered a bug in the filters section of the admin generator > (when run against Oracle anyway) on Symfony 1.3 and Propel 1.5. I > believe that if I can turn the

[symfony-users] Re: Sluggable behaviour: field called "slug" is not created

2010-07-31 Thread Tom Ptacnik
Maybe your problem is a bug, but. Why do you want to use a simple inheritance. I don't think that it's usefull at all. I think that you can do what you want without it.. Tell us what is your goal. Maybe this article would be good to read (and also the comments) http://jasonswett.net/inherit

[symfony-users] Twig Usage

2010-07-31 Thread aikistudio
Hello, is anyone using Twig template framework in a serious project? If yes, how is it doing so far? I'm considering using it for a new webapp, but it seems nobody has being talking about it anymore. I'm looking forward to your replies. Best Regards, Paulo -- If you want to report a vulnerabi