Habibliah, I've been poking around the Tree behavior too as a new comer. Looking at the API for the Tree, specifically the generatetreelist() (which I assume you're asking about), it appears there is a parameter 'recursive' and you might assume this would do what you want. Looking at the Tree source code though reveals that it does NOT have anything to do with your Tree levels.
So, I'm pretty sure Tree won't do what you want directly. You might want to look at this article: http://bakery.cakephp.org/articles/view/nested-tree-behaviour which provides a Tree extension that will return the tree in a different for that should make it easier to do what you want. Regards, Don 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe, reply using "remove me" as the subject.
