[pmwiki-users] Using variable in skin template
Sven Hartenstein
lists at svenhartenstein.de
Fri Oct 23 17:39:06 CDT 2009
This works perfectly! Thank you a lot! :-)
Sven
* Hans <design5 at softflow.co.uk>:
> Friday, October 23, 2009, 10:12:41 PM, Sven Hartenstein wrote:
>
> > Any chance of using a PageTextVariable in the skin template?
>
> try this:
> add to config.php:
>
> $FmtPV['$HeaderQuote'] = 'PageTextVar($pn, "HeaderQuote")';
>
> then put the page variable {$HeaderQuote} in your skin template
> somewhere.
>
> and let your editors add to a page the PTV
>
> (:HeaderQuote: <quote text> :)
>
> cheers,
> ~Hans
More information about the pmwiki-users
mailing list