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


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to