[pmwiki-users] Author link customization?

Petko Yotov 5ko at 5ko.fr
Sun Jul 13 01:50:31 CDT 2008

On Sunday 13 July 2008 07:41:16 Russ wrote:
> Is it possible to replace or customize the ~~~~ markup to display the
> author name and time without modifying author.php?

It is usually possible to customize ANYthing in pmwiki, without modifying core 
scripts... :-)

> Specifically, I 
> would like to be able to style the output with CSS 

You can set in /local/config.php something like:

$ROSPatterns['/(?<!~)~~~~(?!~)/e'] = 
  "FmtPageName('%green%[[~\$Author]]%% \$CurrentTime', \$pagename)";
$ROSPatterns['/(?<!~)~~~(?!~)/e'] = 
  "FmtPageName('%green%[[~\$Author]]%%', \$pagename)";

Of course, you can use any WikiStyle instead of %green%.


More information about the pmwiki-users mailing list