AW: [symfony-users] embeding form by ajax

2010-03-31 Thread Christopher Schnell
Not sure, if I understood correctly but maybe you are searching for something, I have done: I have an internationalized form and do not want to embed all i18n forms at the same time. So I added a small ajax form that allows user to select the language he wants to edit. By using a dropdown list,

[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

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 mgo...@gmail.com wrote: Hi.. I was looking for an authentication module (including registration by mail, forgot password etc) in symfony and installed sfGuardDoctrine

[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] 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 julian.reyes.escri...@gmail.com 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

[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 jveriss...@gmail.com wrote: The echo was just a debug line, but I should only use the embed form only

[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

[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

[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

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

[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 j_chave...@hotmail.com wrote: Hi symfony community! I have searched on

[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