On Sun, May 17, 2009 at 3:22 PM, brian <[email protected]> wrote:
> 1.2.3.8166
>
> I'm trying to move some nodes around in a nested tree and movedown()
> keeps returning false. I copied the class to my app dir and threw some
> Debugger calls in. This test is returning true:
>
> if (($node[$right] + 1) == $parentNode[$right]) {
>
> I've got a pretty good handle on MPTT but I haven't been able to
> figure out what this means (comments would be nice). More importantly,
> how I might get around it. Can anyone enlighten me?
>

OK, I just clued in to the problem. The node can't be moved further
down because it's supposedly already at the bottom of its branch.
Makes perfect sense.

However, it's not displaying as if it's at the bottom. Does anyone
know the cake shell command to display a tree structure? I'd like to
verify it against what my controller/view are giving me.

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