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

Reply via email to