Can anyone tell me the best way to do this. I need to save the layout of my page:
I'd like to store the page layout in a database, but I dont understand how to capure the DOM, would I need to save the ID's of each moveable element in a list, and save that to a database?
How would i save the items in a list?
I can create the drag drop interface no problem, its saving the layout thats giving me problems.
I can't find much on the web about how this works at all.
Any help much appreciated.
Thanks alot for your reply.
How do I actually capture the order of the portlets in the first place? Its that I'm struggling with.
You don't need a database for this.
What you can do is create a cookie and store the layout information inside of it.