[pmwiki-users] Using variable in skin template

Hans design5 at softflow.co.uk
Fri Oct 23 17:09:06 CDT 2009


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