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');

close, thanks! This works:

function SetPageCreator($pagename, &$page, &$new) {
    global $EnablePost, $Author;
    if ($EnablePost) SDV($new['cauthor'], $Author);
}
array_unshift($EditFunctions, 'SetPageCreator');


  ~Hans


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

Reply via email to