Re: CakePhp and Extjs tree

2008-01-27 Thread Paolo
I created a small guide here: http://www.small-software-utilities.com/cakephp/94/cakephp-and-extjs-tree/ On 27 Gen, 01:12, Adam Royle [EMAIL PROTECTED] wrote: This is something that I'm going to have to tackle today or tomorrow, so it would be great if you could paste your code temporarily

Re: CakePhp and Extjs tree

2008-01-26 Thread Adam Royle
This is something that I'm going to have to tackle today or tomorrow, so it would be great if you could paste your code temporarily somewhere before you get the tutorial happening. Shouldn't need any explanation of what the code does, so don't worry about making it pretty. Cheers, Adam On Jan

Re: CakePhp and Extjs tree

2008-01-24 Thread Paolo
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

Re: CakePhp and Extjs tree

2008-01-24 Thread hydra12
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,

Re: CakePhp and Extjs tree

2008-01-23 Thread hydra12
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 a tree

CakePhp and Extjs tree

2008-01-22 Thread Paolo
Hi all! Hasanyone tried to integrate cake with extjs tree? I qould like the used to edit the structure of a menu using extjs drag and drop tools on a tree, 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