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

2010-04-01 Thread 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 can do to make some Url like .com/auckland/module-action-id -- If you want to report a vulnerability issue

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 name.liz...@gmail.com: 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

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/:id

[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

[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

[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 ?php use_stylesheet('main') ? at the beginning of the

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

2010-04-01 Thread Michał Piotrowski
2010/4/1 Javier Garcia tirengar...@gmail.com: 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 ?php

[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 mkkp...@gmail.com wrote: 2010/4/1 Javier Garcia tirengar...@gmail.com: Hi, i have this line below in frontend/config/view.yml: stylesheets:    [main.css] The rules of that file are applied to the

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

2010-04-01 Thread Michał Piotrowski
2010/4/1 Javier Garcia tirengar...@gmail.com: 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

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 mkkp...@gmail.com napisał: 2010/4/1 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work either.. I customized this way three sfDoctrineGuard plugins for my project. It works fine here. ls -R

[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

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

[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: ?php echo include_partial('module/partial', $params)? I use in several components without problem. Manel On 31 mar, 17:23, HAUSa

[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 mmongui...@quesabesde.com wrote: Is not a good idea to get a partial in an action, is better in the template.

[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 julian.reyes.escri...@gmail.com wrote: Ok my real schema is: estudiante:      id: ~      nombres:            

[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

[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

[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] 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: ?php use_stylesheet('main.css') ? link rel=stylesheet type=text/css href=/css/main.css The first one doesn't includes 'main.css' in

[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) {

[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

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

2010-04-01 Thread Michał Piotrowski
2010/4/2 Belgacem TLILI belgacem0...@gmail.com: 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

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 tirengar...@gmail.com wrote: Hi, sfGuardUser model of sfDoctrineGuardPlugin is defined this way: sfGuardUser:  actAs: [Timestampable]  columns:    id:      type: integer(4)