hi ShereWeb, > I am somewhet a newbie to CakePHP. I am trying to migrate my website > from own framework to CakePHP. Everything is wonderful until i got to > tree behavior issue for categories. I will explain a little bit what i > am trying to achieve: > > I have many categories that can have multiple parent categories > ie. Travel Websites category has two parents: > > Business » Travel » Travel Websites > AND > Internet » Websites » Travel Websites
I don't think this is possible within a MPTT tree structure, which is what the Tree behaviour creates. You would need 2 sets of lft and rgt values for a branch that had 2 parents. hth J -- jon bennett - www.jben.net - blog.jben.net 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