How to create menu editor
hi,
can you guide me how to create Menu Editor like Wordpress using MySQLi Server Behavior please provide me any code or tutorial? I am attaching an example
regard
hi,
can you guide me how to create Menu Editor like Wordpress using MySQLi Server Behavior please provide me any code or tutorial? I am attaching an example
regard
You would add a column in your table to store the sort order, then use something like: https://jqueryui.com/sortable/ to create the drag/sort behavior and submit the changes.
Then you could use MySQLi server behaviors to do the update in the table.
There is no tutorial on this, but it is something I could help with in a premier support ticket.
hi sir,
Thanks for reply, sorry I cant afford your premiere support. if you can provide any tutorial or code idea its better otherwise I will search it again.
regard
Look through the jquery sortable documentation and it should all be there.
but how to add MySQLi server behaviors to do the update in the table?
You can get the sortable function to submit an array of ids in the correct order. Then you write a loop that goes through the array and wrap that around the update server behavior to update the id's and set the appropriate order.
hi Ray,
hope you fine, I have found a tutorial code I hope it will works successfully :)
hi Ray,
can we update data with data-position attribute?
I'm not sure what you mean? Data has to be updated through a form submit. If you add that attribute to a form submit, then it can be used to update data in the database.
hi,
Thanks for Response. I would like to inform you that I have found tutorial & also script during searching.sorry for waste your valuable time.
Thanks Again
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.