Hi I am really interested in playing around with the tree behavior but I cant get anything to work.
I have a model that has a parent_id field but i get SQL errors because i dont have a lft or rght column. do i need to add these in to my table? Has anyone came across a tutorial on how to use tree behavior? I have read the chapter in the new manual http://tempdocs.cakephp.org/#TOC96366 and the tree helper in the bakery http://bakery.cakephp.org/articles/view/tree-helper-1 but they dont say anything about haveing a left and right filed in my table. I have just set up the model in the same way as the manual var $actsAs = array('Tree'); thanks in advance for any help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
