Loading...
 
Skip to main content

Features / Usability


Is it safe to reset page version from DB?

Hi all,
I have a few pages I've added content and been trying tiki's different features to come up with a final layout.
Since I don't need all that history, I've deleted page history.
The problem is that pages are now high in versions and I need to revert back to version number 1.

Is it safe AFTER deleting page history to revert version number back to 1 from within the database?
aka set version field to 1 from tiki_pages table in database.

Thank you in advance.

Maybe... I'm not sure... I don't know if the VERSION field is referenced by or linked to anything else...

But you could also easily:
1. Copy the page source to a tempoary text file.
2. Delete the Tiki page.
3. Create a new Tiki page (you can re-use the page name)
4. Paste your original pages' source into the new page.

This will essentially give you a new page, starting at version 0.

Note, howeever, your acual page ID will be different, so if you reference anything by the page ID (instead of page name) you'll need to update that as well.



HTH,

- RickQuestion | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.comQuestion
Tiki for SmartiesQuestion, your source for the best (and only) Tiki books, guides, and tutorials.