Monday, July 16, 2012

Re: Nested Menu in Cake 2.x

http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html
 - S




On 16 July 2012 02:15, Ain Devonshire <vladimirdevonshire@gmail.com> wrote:
yeah but i dont have letf and right fields on my database..can you put on some links as my references?


On Friday, July 13, 2012 7:54:26 PM UTC+8, MaJerle.Eu wrote:
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

--
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


Real Estate