[pmwiki-users] Is 'Page Creator' worth to discuss?
Hans
design5 at softflow.co.uk
Sun Feb 24 12:18:53 CST 2008
Sunday, February 24, 2008, 3:55:48 PM, Patrick R. Michaud wrote:
> ## not tested, but gives the general idea
> function SetPageCreator($pagename, &$page, &$new) {
> global $EnablePost, $Author;
> if ($EnablePost) SDV($new['cauthor'], $Author);
> unshift($EditFunctions, 'SetPageCreator');
Patrick, I was jubilant too quickly.
The SetPageCreator function sets cauthor everytime new when the page
is saved, not just when the page is saved the first time.
~Hans
More information about the pmwiki-users
mailing list