Tuesday, July 31, 2012

Re: Attempting to reparent a TreeBehavior node -- assign new parent_id, lft, and rght values

cricket:

Thank you, so very much. It was definitely "spinning its wheels" because of the lack of redirect statement. Thank you.

In addition, in my model, I had added SELF ASSOCIATIONS: belongsTo ParentTopic and hasMany ChildTopic. As soon as I commented those out and added the redirect, it works great. I guess those associations are not required when I have added  $actsAs => array('Tree').

Thank you, again!

Kevin

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: