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: [email protected] [mailto:symfony- > [email protected]] Im Auftrag von Yitzchak Schaffer > Gesendet: Mittwoch, 22. Dezember 2010 14:57 > An: [email protected] > 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 [email protected] > > On Dec 22, 2010, at 8:40, dmitrypol <[email protected]> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
