On Sunday 21 Mar 2010 21:16:18 Jigal sanders wrote: > Hello, > > I use Zend_Navigation and an xml file to build up my navigation. > Is it possible to show only a link on a certain condition? For example when > a user is logged in i want to show the logout link but when no one is > logged in i don't want to show the logout link. > > Any idea's? > > Thanks. > > J. Sanders The navigation view helpers are ACL aware. Set an Zend_Acl object and the view helpers will check if the user has permission to view the links.
Regards, Jurian -- Jurian Sluiman CTO Soflomo V.O.F. http://soflomo.com
