Zoe -- Sorry, I just now saw your reply!  You can use $this->Category-
>reorder(); just like that to reorder the entire tree from top to
bottom... very handy!

On Nov 9, 10:19 am, MonkeyGirl <z...@monkeehouse.com> wrote:
> OK, so using $this->Category->reorder(); reorders all the children of
> a given category (in this example), and their children, and so on, but
> is there any way to reorder _all_ the categories, including the top
> level ones?
>
> I see now the point about my code not doing anything more than the
> original CakePHP code, as either way, nothing's reorganising the top
> level categories.  Either I'm missing something or that functionality
> simply isn't available, is that right?
>
> It's good to know that it's recursive though, that's great.
>
> Thanks,
> Zoe.

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-...@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=.


Reply via email to