Re: Nested Menu in Cake 2.x
you can use Tree Behavior to properly nested menu items, then use Model::find('threaded'); and you will get nested array, then just recursively go through all array and make html output with ul and li.
Then use css or jQuery for nice user display (Mootools, etc..)
--
-- --
Lep pozdrav, Tilen Majerle
2012/7/13 Ain Devonshire <vladimirdevonshire@gmail.com>
Hi guys currently my site is only displaying menu and it submenu. How will i display the children of the submenu? --
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home