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.
I created logic in templates that checks $sf_user->isAuthenticated(),
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,
mfony-
> 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