I have a Pages table in my app with the following fields:

id
parent_id
lft
rght
title
body
created
modified

My model uses $actsAs = array('Tree')

All the data associations are correct and generatetreelist() returns
the appropriate values. What I'm looking for is a way to turn the tree
information into a nested list for dynamically built navigation. I
want new pages to appear in the menu when they are created, but I want
them to appear in the hierarchy according to where they fall in the
tree.

Does anyone have any tips for me?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to