So I have implemented the CJuiSortable widget but I’m unsure as to how I should update my database table with the new sort_order entries. Here is my markup:
I use the ‘serialize’ function to pass the LI ids. I also had to prefix the IDs with a name, in my case I just used “key_”. I then receive $_POST[‘key’] array in my controller and handle the IDs in there.
wondering if anyone on this thread could help me out - I think I’ve almost solved this based on the info here but am still having some trouble - I’ve created an ‘update’ call as described above but it never actually invokes the method in my controller