Re: Ajax - help in serialize of data from mootools sortable OL list for CakePHP to use

2007-12-06 Thread luke BAKING barker
whoa hang on - http://groups.google.com/group/cake-php/browse_thread/thread/8de4714f1a04a97b/fd8011bfed27c381?lnk=gstq=mootools#fd8011bfed27c381 I should have searched mootools on here before! (tried google...but not the group search!) On Dec 6, 10:24 am, luke BAKING barker [EMAIL PROTECTED]

Ajax - help in serialize of data from mootools sortable OL list for CakePHP to use

2007-12-05 Thread luke BAKING barker
Hi I am building a little menu manager for a backend of a site. I am using this Nestable Sortable drag and drop script , using mootools framework. demo and script: http://youmuppet.com/?page_id=9 description: http://forum.mootools.net/viewtopic.php?id=1106 It essentially allows the reordering

Re: Ajax - help in serialize of data from mootools sortable OL list for CakePHP to use

2007-12-05 Thread Adam Royle
here is my code for the view using the ajax helper (note the ids are important, these are actually the ids that exist in the database) ul id=items li id=item_1Item 1/li li id=item_2Item 2/li li id=item_3Item 3/li /ul ?php echo $ajax-sortable('items', array('constraint' =

Re: Ajax - help in serialize of data from mootools sortable OL list for CakePHP to use

2007-12-05 Thread Adam Royle
I forgot to mention you need to include the prototype+scriptaculous javascript libraries - this is what the ajax helper uses. Adam On Dec 6, 2:57 pm, Adam Royle [EMAIL PROTECTED] wrote: here is my code for the view using the ajax helper (note the ids are important, these are actually the ids