Ah, excellent, I couldn't find any other snippets that used the lft/rgt (left/right) nested set model. Thanks for the link :-)
On 6/14/07, AD7six <[EMAIL PROTECTED]> wrote: > > > > > On Jun 14, 1:21 pm, "Jonathan Langevin" <[EMAIL PROTECTED]> wrote: > > I understand that the "snippet" is old and unfinished. I'm working on > > cleaning it up, and I was wondering where would be the best place to put > the > > code in Cake > > > > I need to read up on behaviors then > > By no means do I mean to imply anything one way or the other regarding > the quality of that snippet, but the best place for that code is > nowhere in cake (or in your app). Your time would be better placed > using (not coding) the already existing tree behavior rather than > rewriting something which precedes it (chronologically only). > > If you go here: http://www.noswad.me.uk/Tree and click "Initialize > (recreate) Medium Tree" and then click around you will see that there > is nothing in that snippet that isn't already coded into a behavior. > You can get the source for that demo here: > http://cakeforge.org/projects/noswad, > description here: http://www.noswad.me.uk/MiBlog/Trees > > hth, > > AD > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
