JJSEditRev
Questions answered by this recipe
Saving a page will always update the PageRev attribute. How can I have a revision count that is only updated when the page text has changed?
Description
JJSPageRev inserts a hook function in
that checks if the text of a page has changed before it is saved.
If so, it updates the value of a page attribute named "jjsEditRev".
$EditFunctions
Installation
Download Attach:jjseditrev1_0.php Δ, save it in your cookbook directory.
add to local/config.php:
include_once($FarmD . '/cookbook/jjseditref1_0.php');
Notes
This is not of much value per se. But combined with JJSApprovePage and JjsCMS it allows for fine grained publishing control.
Release Notes
- 2006-03-18 Initial release
See Also
Contributors
Comments
See discussion at JJSEditRev-Talk?
User notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.