cake-php@googlegroups.com
[Top] [All Lists]

How do you hide children using the Tree Helper?

Subject: How do you hide children using the Tree Helper?
From: SacoDesign
Date: Wed, 24 Mar 2010 14:09:02 -0700 PDT
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx 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.

<Prev in Thread] Current Thread [Next in Thread>