On Sunday 30 Jan 2011 06:30:29 jiewmeng wrote: > With Zend_Navigation, I can do something like > > Home > Projects > Collaborators > > but What if I want something more useful > > Home > Project name > Collaborator name > > How can I acheive this? Is it a good idea? Possibly, there would be > performance issues? Cos it got to query up the hierarchy? But whatever it > is, how can I achieve this?
I do this with an action helper which injects the pages as subpage of the current active page. For example, when you read a blog article the Zend_Navigation_Page of this article is injected as subpage of the blog page and this happens only when you view the article. More explained at my blog [1]. Perhaps you can use the solution as well for your system. Regards, Jurian [1] http://juriansluiman.nl/en/article/109/tips-and-trics-for- zend_navigation#dynamically-inject-subpages -- Jurian Sluiman Soflomo - http://soflomo.com
