mattastic — 2010-06-01T06:51:06-04:00 — #1
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.
mattastic — 2010-06-02T05:24:40-04:00 — #2
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.
cerium — 2010-06-01T10:23:51-04:00 — #3
You don't need a database for this.
What you can do is create a cookie and store the layout information inside of it.