Welcome Guest, Not a member yet? Register   Sign In
CMS Page auto-saving and revision storage
#3

[eluser]WanWizard[/eluser]
I store "content blocks" in a multiple root nested sets table.

The root ID is the block id, the children are the different revisions. It has publishing date information, and publishing state information (p.e. approvals).
To determine which block (if any) to display, I fetch the first child, check the state, and if that revision can't be published, loop through the next children to find one.


Messages In This Thread
CMS Page auto-saving and revision storage - by El Forum - 10-30-2010, 11:18 AM
CMS Page auto-saving and revision storage - by El Forum - 10-30-2010, 06:02 PM
CMS Page auto-saving and revision storage - by El Forum - 10-31-2010, 02:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB