close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to create menu editor

Thread began 1/21/2021 4:18 am by Raza | Last modified 1/29/2021 8:50 am by Ray Borduin | 151 views | 9 replies |

Raza

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

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

Raza

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

Sign in to reply to this post

Ray BorduinWebAssist

Look through the jquery sortable documentation and it should all be there.

Sign in to reply to this post
Did this help? Tips are appreciated...

Raza

but how to add MySQLi server behaviors to do the update in the table?

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

Raza

hi Ray,
hope you fine, I have found a tutorial code I hope it will works successfully :)

Sign in to reply to this post

Raza

hi Ray,
can we update data with data-position attribute?

Sign in to reply to this post

Ray BorduinWebAssist

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.

Sign in to reply to this post
Did this help? Tips are appreciated...

Raza

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

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...