[symfony-users] How to different forms filters in backend and frontend ?

2010-03-15 Thread Javier Garcia

Hi,

I have 2 modules (one in the backend and the other one in the frontend) 
based on the same model.


Is there any trick to get different form filter in the backend and in 
the frontend?


Javi


--
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] How to different forms filters in backend and frontend ?

2010-03-15 Thread Alan Bem
Set this up in generator.yml in each
module.http://www.symfony-project.org/reference/1_4/en/06-Admin-Generator#chapter_06_sub_class

On Mon, Mar 15, 2010 at 9:49 PM, Javier Garcia tirengar...@gmail.comwrote:

 Hi,

 I have 2 modules (one in the backend and the other one in the frontend)
 based on the same model.

 Is there any trick to get different form filter in the backend and in the
 frontend?

 Javi


 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] How to different forms filters in backend and frontend ?

2010-03-15 Thread Jose Antonio Pio Gil
You could Make diferents YourModelForm Clases to extend BaseYourModelForm
and use them on backend or frontend as you need it.


Kind regards / Un saludo

Jose Antonio Pio Gil
Latizana Studio  Diseñadera
www.latizana.com
Madrid – España
Telf: 0034 917387209
Cel: 0034 637455667


2010/3/15 Javier Garcia tirengar...@gmail.com

 Hi,

 I have 2 modules (one in the backend and the other one in the frontend)
 based on the same model.

 Is there any trick to get different form filter in the backend and in the
 frontend?

 Javi


 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.comsymfony-users%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en