This might help...

http://articles.classoutfit.com/2009/11/cakephp-dynamic-navigation-bars/

Jeremy Burns
jeremybu...@me.com


On 24 Mar 2010, at 19:12, mattyh88 wrote:

> Hello,
> 
> I'm building a submenu (which holds sub pages of the current page)
> into my cakephp site. This submenu is based on the current page_id,
> which I get from the URL. (...pages/view/13 for example)
> 
> I have put this submenu into an element, that I call in my layout
> file.
> Now my question is, how can I build my submenu (with sub pages of the
> current page) based on the current page_id. (another way than just
> getting it from the URL, if possible? :))
> 
> Thanks in advance,
> mattyh88
> 
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
> 
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
> 
> To unsubscribe from this group, send email to 
> cake-php+unsubscribegooglegroups.com or reply to this email with the words 
> "REMOVE ME" as the subject.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to