Yes, that's what i do, too when the differences are more than 1 or 2 properties. Otherwise, redirects to different actions would be possible if differences are really big.
Regards, Christopher. > -----Ursprüngliche Nachricht----- > Von: symfony-users@googlegroups.com [mailto:symfony- > us...@googlegroups.com] Im Auftrag von Yitzchak Schaffer > Gesendet: Mittwoch, 22. Dezember 2010 14:57 > An: symfony-users@googlegroups.com > Betreff: Re: [symfony-users] Re: best way to hide form fields in > front_end based on credentials? > > How about creating different templates, and placing the logic in the > action with $this->setTemplate() and $this->setLayout() > > -- > Yitzchak Schaffer > Systems Manager > Touro College Libraries > 212.742.8770 ext. 2432 > http://www.tourolib.org/ > > Access problems? Contact systems.libr...@touro.edu > > On Dec 22, 2010, at 8:40, dmitrypol <dmitry...@gmail.com> wrote: > > > Similar question - what is the best way to hide certain fields on > > indexSuccess.php and layout.php? I have members who belong to > > different sfGuardGroups and based on that I either show / hide > certain > > data elements and text info. > > -- > 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 -- 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