[pmwiki-users] variables for customization

Patrick R. Michaud pmichaud at pobox.com
Tue Jul 5 09:55:20 CDT 2005


On Tue, Jul 05, 2005 at 04:27:42PM +0200, Christophe David wrote:
> Hello,
> 
> I am trying to customize the look of pages with "Group.PageName.php" like
> files in the local directory, and custom markups.
> 
> The example below works OK except that it only retrieves $CurrentTime and
> $WikiTitle.  The other variables are empty.  I would like to obtain the
> $PageName for further customization.  Any clue ?

Variables like $Group, $Title, $PageName, etc. can only be obtained
via the FmtPageName() function.  So what you really want is probably
something like:

Markup('test', 'fulltext',
  '/test:/e',
  "FmtPageName('- \$CurrentTime - \$Group - \$PageName - \$WikiTitle -', \$pagename)");

Pm



More information about the pmwiki-users mailing list