SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jun 2006
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Save drag drop layout

    Hi Folks,

    Can anyone tell me the best way to do this. I need to save the layout of my page:

    http://www.sandwell.nhs.uk/test/test.html

    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.


    many thanks

  2. #2
    SitePoint Zealot
    Join Date
    Apr 2010
    Posts
    154
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You don't need a database for this.

    What you can do is create a cookie and store the layout information inside of it.

  3. #3
    SitePoint Addict
    Join Date
    Jun 2006
    Posts
    251
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •