[pmwiki-users] page variables - in !!title
Simon
nzskiwi at gmail.com
Mon Sep 14 01:14:58 CDT 2009
2009/9/14 Patrick Ogay Evolution <lists at basel-inside.ch>
>
> > !!{$:foo}
> > shows as heading2 'bar'
>
> ok, yes
> It is a possibility to assigh the heading-string to a hidden page var.
> then use it several times (in heading and music macro).
>
> (I tought there might me a possiblity to make an assignment to a
> pagevar, where the pagevariable it self is not visible)
>
> thanks Hans, also for the hints with (:title:) and $title
>
> regards
> Patrick
>
>
>
If by heading string you mean the page title
- as defined by {title My page title}
then you can use the predefined (hidden) page variable {$title} again in
its own page,
in a side bar, header or footer {*$title},
or in any other page {Group.Name$title}
or in a pagelist {Group.Name=$title}
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090914/8a7f4699/attachment.html
More information about the pmwiki-users
mailing list