Re: [symfony-users] How would you reverse the "notnull:true" in a schema of a plugin?

2010-04-01 Thread Tom Haskins-Vaughan
Why don't you just store the email in the username field? On Thu, Apr 1, 2010 at 9:07 AM, Javier Garcia wrote: > Hi, > > sfGuardUser model of sfDoctrineGuardPlugin is defined this way: > > sfGuardUser: >  actAs: [Timestampable] >  columns: >    id: >      type: integer(4) >      primary: true >  

Re: [symfony-users] how to build my pernal form

2010-04-01 Thread Michał Piotrowski
2010/4/2 Belgacem TLILI : > im' searching to do a personnal forms > but i have not any idea how to build it > > plz help meee http://www.symfony-project.org/forms/1_4/en/ http://www.symfony-project.org/jobeet/1_4/Doctrine/en/ -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] how to build my pernal form

2010-04-01 Thread Belgacem TLILI
im' searching to do a personnal forms but i have not any idea how to build it plz help meee -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" gro

[symfony-users] Re: Is there any way to see all the functions that have been executed?

2010-04-01 Thread Javier Garcia
Thanks, but for example, here below i'm using debug_backtrace(). It outputss a list of functions called, but the save() function (that is just before the debug_backtrace() calling) is not that list.. protected function processForm(sfWebRequest $request, sfForm $form) { $form->bind($request->

[symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
Yes you're right, but that doesn't resolve my problem. I will change my question: In signinSuccess.php (doesn't matter the place) i have this lines: The first one doesn't includes 'main.css' in signinSuccess.php but the second one yes. In other frontend modules, when using main.css is incl

[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
THANKS !!! Mikael -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com 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@googlegroups.com To

[symfony-users] timezones, symfony 1.0 and propel

2010-04-01 Thread Jacob Coby
Has anyone successfully implemented timezone support with symfony 1.0? I store my timestamps in America/New_York but need to display them in the user's timezone. The only approach I can see that would work is adding a helper to make the temporal changes in the view or to override the getters/s

[symfony-users] Re: Credentials problem

2010-04-01 Thread wueb
I solved. The problem was because i was logged with a "is_super_admin" user!! When that happens he ignore the credentials and he have full access to everything!! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this messa

[symfony-users] Re: Partial in component

2010-04-01 Thread Mr_chon
Hi, Maybe you could load the Partial helper and use get_partial() ? Mr_chon On Apr 1, 3:23 pm, HAUSa wrote: > I want to use it in my component (not template) because I have the e- > mail layout in there. > And the e-mail has to be sent from the component with the Mailer. > > On 1 apr, 15:19, M

[symfony-users] Re: sf_culture 'uk' => 'ua'

2010-04-01 Thread birdmilk
hi, according to the RFC and ISO Ukraine code is UA. regarding the problem you have: * probably you should to check routing.yml * otherwise please search the project with UK key. * sf_culture in most cases used for one in sf -- If you want to report a vulnerability issue on symfony, please s

[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread john
This is a common problem when developing on Windows and deploying to unix. Windows is case-insensitive when it comes to filepaths while unix is not. Search your schema files for "TimeStampable" and replace it with "Timestampable". On Apr 1, 2:39 pm, Mikael wrote: > And with xdebug enabled, I ge

[symfony-users] Re: propel relation m:n

2010-04-01 Thread Massimiliano Arione
OK, you must remove the id field from acudiente_estudiante model, and add primaryKey: true to both estudiante and acudiente fields. cheers Massimiliano On 1 Apr, 01:40, Julian Reyes wrote: > Ok my real schema is: > > estudiante: >      id: ~ >      nombres:                      { type: varchar(2

[symfony-users] Re: Partial in component

2010-04-01 Thread HAUSa
I want to use it in my component (not template) because I have the e- mail layout in there. And the e-mail has to be sent from the component with the Mailer. On 1 apr, 15:19, Manel wrote: > Is not a good idea to get a partial in an action, is better in the > template. > > In a component you can

[symfony-users] Re: Partial in component

2010-04-01 Thread Manel
Is not a good idea to get a partial in an action, is better in the template. In a component you can include a partial in the template like this: I use in several components without problem. Manel On 31 mar, 17:23, HAUSa wrote: > In an action I can use $this->getPartial('system/email_template')

[symfony-users] How would you reverse the "notnull:true" in a schema of a plugin?

2010-04-01 Thread Javier Garcia
Hi, sfGuardUser model of sfDoctrineGuardPlugin is defined this way: sfGuardUser: actAs: [Timestampable] columns: id: type: integer(4) primary: true autoincrement: true username: type: string(128) notnull: true unique: true As you can see 'username

[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
And with xdebug enabled, I get this /var/www/pi2010$ ./symfony import:pays Fatal error: Class 'Doctrine_Template_TimeStampable' not found in /var/ www/svnexp/pi2010/trunk-r269/lib/model/doctrine/base/ BasePays.class.php on line 66 Call Stack: 0.0002 53584 1. {main}() /var/www/svnexp/

[symfony-users] Re: doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
I forgot to mention that the model building operation went fine : /var/www/pi2010$ ./symfony doctrine:build --all --and-load --no- confirmation >> doctrine Dropping "doctrine" database >> doctrine Creating "dev" environment "doctrine" database >> doctrine generating model classes >> file+

[symfony-users] doctrine autoloading pb while deploying on debian lenny

2010-04-01 Thread Mikael
Hello, I try to deploy a symfony project (developped on wamp) on a debian lenny server and faces the following problem while running a task that works fine on my windows machine : /var/www/pi2010$ ./symfony import:pays Fatal error: Class 'Doctrine_Template_TimeStampable' not found

[symfony-users] sf_culture 'uk' => 'ua'

2010-04-01 Thread Denis
Hi, I have Symfony based site with URLs like "www.site.com/uk/smth1/ smth2/..." 'uk' - is the name of Ukraine localisation. The question is: how can I change 'uk' in URL (for Ukraine localisation) to 'ua'? -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
W dniu 1 kwietnia 2010 12:34 użytkownik Michał Piotrowski napisał: > 2010/4/1 Javier Garcia : >> Thanks Michal, but it doesn't work either.. > > I customized this way three sfDoctrineGuard plugins for my project. It > works fine here. > > ls -R apps/frontend/modules/sfGuardAuth/ > apps/frontend/mo

Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
2010/4/1 Javier Garcia : > Thanks Michal, but it doesn't work either.. I customized this way three sfDoctrineGuard plugins for my project. It works fine here. ls -R apps/frontend/modules/sfGuardAuth/ apps/frontend/modules/sfGuardAuth/: actions lib templates apps/frontend/modules/sfGuardAuth/ac

[symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
Thanks Michal, but it doesn't work either.. Javi On Apr 1, 11:21 am, Michał Piotrowski wrote: > 2010/4/1 Javier Garcia : > > > Hi, > > > i have this line below in frontend/config/view.yml: > > > stylesheets:    [main.css] > > > The rules of that file are applied to the templates of the modules o

Re: [symfony-users] Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
2010/4/1 Javier Garcia : > Hi, > > i have this line below in frontend/config/view.yml: > > stylesheets:    [main.css] > > The rules of that file are applied to the templates of the modules of > frontend, but no to the templates of sfDoctrineGuardPlugin. > > Even if i write at the beginning of the

[symfony-users] Associating a stylesheet to a template of a plugin

2010-04-01 Thread Javier Garcia
Hi, i have this line below in frontend/config/view.yml: stylesheets:[main.css] The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin. Even if i write at the beginning of the template it doesn't work.. What sho

[symfony-users] ADLLDAP

2010-04-01 Thread DEEPAK BHATIA
Hi, Anybody used adldap in symfony project. http://adldap.sourceforge.net/ Thanks Deepak -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" gro

[symfony-users] access object from validator

2010-04-01 Thread Mihai Rusoaie
Hello, all! Is there any way to access my object (the one before the form post) from a sfValidatorSchema ? When I had my validator inside the Form.class.php file, I could access the object with $this->getObject(), but from the sfValidatorSchema class I cannot access it like this. I need to compa

Re: [symfony-users] a question about routing framework :P

2010-04-01 Thread Georg Gell
try to put something like this in routing.yml auckland: options: { segment_separators: [/, ., -] } Am 01.04.2010 08:39, schrieb Lee Joseph: > as I know routing framework in symfony which separates url information > with slash '/' or dot '.' like > > some_route: > url: /:module/:actions/:i

Re: [symfony-users] a question about routing framework :P

2010-04-01 Thread Denis Golovin
Did you try something like this: some_route: url: /:module-:actions-:id 2010/4/1, Lee Joseph : > as I know routing framework in symfony which separates url information > with slash '/' or dot '.' like > > some_route: > url: /:module/:actions/:id > > > I just want know is there anything I c