The last param for generateTreeList is $recursive, which is the number
of levels to fetch.

http://api.cakephp.org/class/tree-behavior#method-TreeBehaviorgeneratetreelist

On Mar 24, 5:09 pm, SacoDesign <sign...@sacodesign.com> wrote:
> Hello,
>
> I'm using find('threaded') and the Tree Helper (http://
> bakery.cakephp.org/articles/view/tree-helper-1).
>
> My categories are up to 4 levels deep, but I only want to show the top
> parent and it's direct children for my navigation bar.  I'm hoping to
> remove the children from the output.  I don't want to "hide" the
> children using display: none.
>
> Thank you,
>
> -Kevin

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