[pmwiki-users] getting $Author in a script

H. Fox haganfox at users.sourceforge.net
Tue Mar 21 22:27:17 CST 2006

On 3/21/06, Neil Herber <nospam at eton.ca> wrote:
> I am trying to modify Dominique Faure's ActionLog script  to include
> the author name in the log line.
> No matter what I try, the author comes up blank.
> I have tried $Author and {$Author} and looked at other scripts but
> cannot see what to do.  Any hints?

1) If you're doing it inside a function, remember to decleare it global.

2) Add a %s, wherever you put the $Author in, to this line:

 SDV($ActionLogLineFmt, "  %s %-15s %-8s [[%s]]\n");


More information about the pmwiki-users mailing list