Results 1 to 2 of 2
Oct 23, 2007, 13:44 #1
Dynamic page layout how is this achieved & STORED on a DB
OK, this is prob. a bit of a biggy, but...
With regards to google et al, where you can drag & drop (small-ish) boxes into a position on a page which, the next time you visit, appear in the same place...
If I may digress, to begin with a blank page. Having "created" the header/banner and "sideboxes" and footer, have these available for the user the drag & drop into position (whether they're dropped into a side-column, or womeway down the centre column, and be able to take into account the order they're applied?
I'm currently using CodeIgniter (having found symphony a bit bloated), tailoring this to allow for plugable modules et al -ish.
Oct 23, 2007, 14:37 #2
- Join Date
- Nov 2004
- Nelson BC
- 0 Post(s)
- 0 Thread(s)
This is pretty complicated but not impossible.
1. Set up your page in HTML and add the script to drag and drop components.
2. Write a script on the page to send data with the object id and its new coordinates to a server script when a component is drag-and-dropped (ajax is one way, submitting a form to a hidden iframe is another, and there are more).
3. Write a server script to receive this data and store it.
4. Convert the original HTML page to use server script to set up the component positions.
I haven't used your library so I'm not sure if it has any of these capabilities.