How do you like the idea?

94.7% 18
5.3% 1

19 Date 2009-06-29 01:49

Forums / Cotonti / Core Labs / Archive / Poll: Page validation enhancement

A small tweak that could be ultimate in most cases

GHengeveld
#13586 2009-06-30 06:28
My vote goes to implementing a wiki system. This is by far the best way to handle things. I'm actually missing this feature right now, because I often have clients complaining they made a mistake and they have no way to undo it.

I think it's not that hard to implement. The only thing you need is an extra table which stores old revisions of the pages (say we name it 'sed_pages_old'. When a page gets updated, the old one is copied to sed_pages_old, before being replaced by the new version (in sed_pages). I guess there should be a limit in revisions though, to keep the db from cluttering. Of course a differential system would be better, but will also take more time to implement.