I have the same problem. It looks like the $tree->addItemAttribute and
$tree->addTypeAttribute doesn't work in the element. If I put this in
the view where the tree gets generated it 'highlights' the first item.

I need classes on the items to decide when to expand it's children. I
got a treepath so in combination with those methods it should work.

Is the helper still working in 1.2.0.7692 RC3?

I get the children through: $this->MenuItem->children($id,
$onlyDirectChildren);

Thanks in advanced!

Adriaan

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

Reply via email to