I was reading the docs for cake 1.2 (http://tempdocs.cakephp.org/) and found out that there is a tree behavior. Maybe this could help with getting the correct data into the correct format. I haven't dug into it yet due to lack of time, but it might be worth looking at.
On Jan 24, 8:19 am, Paolo <[EMAIL PROTECTED]> wrote: > Hi! Thanks for your answer, I tried using a function that loads all > the children of the tree and puts them, formatted in a particular way, > in a textbox. I can read that textbox and parse it to add all the > relevant stuff to the db. I'll post a tutorial soon. > > Thanks > > On 23 Gen, 19:39, hydra12 <[EMAIL PROTECTED]> wrote: > > > I haven't tried this yet. You might look here for some basic > > information: > > http://extjs.com/learn/Tutorial:Ext20_Tree_TreeLoader_PHP_MySQL > > > The main problem I see with doing this with cake is getting your data > > in the correct format. I have some other extjs tutorials; maybe I can > > get atreetutorial up sometime. You can find my other stuff > > here:http://www.ntatd.org/mark. Maybe some of it will help, since the > > datagrids do cover outputting data in json format. > > > hydra12 > > > On Jan 22, 8:14 am, Paolo <[EMAIL PROTECTED]> wrote: > > > > Hi all! > > > Hasanyone tried to integrate cake with extjstree? I qould like the > > > used to edit the structure of a menu using extjs drag and drop tools > > > on atree, and then get the values (for ezample, a sequence of root -> > > > node 1, node 2-> node 3 -> node 4 > > > and then update the parent in the db fields. > > > Any idea? > > > thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---