[pmwiki-users] Re: variables for customization
chr at home.se
chr at home.se
Wed Jul 6 13:24:49 CDT 2005
On Wed, 6 Jul 2005, Patrick R. Michaud wrote:
> On Wed, Jul 06, 2005 at 08:49:45AM +0200, Christophe David wrote:
> > Thank you for your fast reply.
> >
> > I have to admit I did not manage yet to understand how this works.
> >
> > In a "local" directory, I have a file like group.page.php, containing this :
> >
> > <?php
> > Markup('test', 'fulltext', '/test:/',
> > FmtPageName('$Group<br>$PageName<br>$FullName<br>', $pagename));
> > ?>
> >
> > which produces
> >
> > group
> > group.page
> > group.page
> >
> > According to the documentation (snippets below), I would expect "page" as
> > $PageName, and not "group.page" .
>
> The documentation is wrong there; none of $Group, $PageName, and
> $FullName are variables in the normal sense. They're only available
> through FmtPageName(). And $PageName was deprecated long ago in favor of
> $Name.
Christophe, on which wiki pages did you find this outdated information?
Since I've fiddled with PmWiki.MarkupVariables recently, I could try and
fix this (partly) related stuff as well.
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list