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

2010-03-31 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 o

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

2010-03-31 Thread Julian Reyes
Ok my real schema is: estudiante: id: ~ nombres: { type: varchar(255), required: true } apellidos:{ type: varchar(255), required: true } sexo: { type: integer, foreignTable: sexo, foreignReference: id, required: tru

[symfony-users] Re: Swift Mailer Configuration

2010-03-31 Thread Jonathan
Figured this out. I was working in the dev environment and I had tried to enable sending by altering my factories.yml like this... dev: mailer: param: #delivery_strategy: none but what I should have done was this... dev: # mailer: # param: # delivery_strategy: none On

[symfony-users] Re: How to create object if value has not match in database when using sfWidgetFormJQueryAutocompleter?

2010-03-31 Thread Antoine S.
Hi, in fact you don't need a validator anymore :P or maybe just for the type, but not for the choices. and then you can add the object in updateObject(), and it will be created in save() On Apr 1, 5:33 am, J_Wesker wrote: > Hi symfony community! > > I have searched on several posts related to

[symfony-users] Re: Any way to show the global errors only if there isn't any field error?

2010-03-31 Thread Javier Garcia
Here is the snippet if someone wants it: $num_errores_totales = count($form->getErrorSchema()->getErrors()); $num_errores_globales = count($form->getErrorSchema()- >getGlobalErrors()); if (0 == $num_errores_totales - $num_errores_globales){ echo $form->renderGlobalErrors(); } Javi On

[symfony-users] How to create object if value has not match in database when using sfWidgetFormJQueryAutocompleter?

2010-03-31 Thread J_Wesker
Hi symfony community! I have searched on several posts related to this widget for several days, but until now I haven't found a lead about how to accomplish what I need in a form. The situation is like this: The form is using several autocomplete fields, and everything is working great! But it c

[symfony-users] Multiselect images for export

2010-03-31 Thread kim
Hello, I was wondering how i can make next possible: I want to be able to select images (that i got the URL from out of a database) and when i'm done selecting the images i want i should be able to press a button to write these URL's to a file Does someone know how i can make a list of images th

[symfony-users] Partial in component

2010-03-31 Thread HAUSa
In an action I can use $this->getPartial('system/email_template'), but that doesn't work in an component. How can I do this in a component? -- 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 subs

[symfony-users] Re: Invoice Model

2010-03-31 Thread Massimiliano Arione
Did you read the entire chapter? See http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms#chapter_06_saving_object_forms cheers Massimiliano On 30 Mar, 19:56, Veríssimo wrote: > The echo was just a debug line, but I should only use the embed form > only if the $this->getObj

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

2010-03-31 Thread Massimiliano Arione
Can you post your real schema? The one above is uncomplete. On 30 Mar, 18:16, Julian Reyes wrote: > Hi > > i have a problem with this type or relations. > > in the jobeet tutorial explain the ORM make it relations many to many > automaticly buts don't works. only saved student and guardian  but n

[symfony-users] Re: Any way to show the global errors only if there isn't any field error?

2010-03-31 Thread Javier Garcia
For example: i have the signin action of sfDoctrineGuardPlugin. I have empty the 'username' input widget and then click on 'Sign in', this two messages are showed "-Required" and "The username and/or password is invalid". I would like to show just the first message ("- Required"). Javi On Mar 31,

[symfony-users] Any way to show the global errors only if there isn't any field error?

2010-03-31 Thread Javier Garcia
Hi, in a form if there is a field and a global error both messages are showed. I would like to show the global errors only if there isn't any field error. Any idea? Javi -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

Re: [symfony-users] login with email instead of a separate username

2010-03-31 Thread Gábor Fási
http://bluehorn.co.nz/2009/06/12/symfony-12-propel-and-sfguardplugin-email-login/ On Wed, Mar 31, 2010 at 09:13, gopi wrote: > Hi.. > > I was looking for an authentication module (including registration by > mail, forgot password etc) in symfony and installed sfGuardDoctrine > sfForkedDoctrineApp

[symfony-users] login with email instead of a separate username

2010-03-31 Thread gopi
Hi.. I was looking for an authentication module (including registration by mail, forgot password etc) in symfony and installed sfGuardDoctrine sfForkedDoctrineApply, But these plugins use a separate userid for login instead of using the email address. Is there any plugin or a patch to use emaili