Saturday, June 1, 2013

How to drag and drop / collapse elements and save it with user_id?

How to drag and drop / collapse elements and save it with user_id?

I am building a free theme for knowledgemanagement. At the frontend i want to drag and drop and collapse the elements (articles, widgets, ...). I look a lot of time to several tutorial but can't get it working.
But i think, there is very easy waay to do it, cause the backend of wordpress can do what i want - the dashboard-widgets!
I looked at the code, tried to embed wp-admin/load-scripts.php, tried to embed wp-admin/js/postbox.js, build my sidebar with exactly the same structur like the panel of the dashboard-widgets... but everythind i try do do or to combine, it doesn't work...
Where/how i have to hook into to get this existing backend-features to my frontend? Or do you have an other solution for my idea? Iwant that i can arrange the elements on the frontend and save it for every user.
I would be so thankfull for any help!

No comments:

Post a Comment