[pmwiki-users] Using variable in skin template

Sven Hartenstein lists at svenhartenstein.de
Fri Oct 23 17:38:06 CDT 2009

Hi David,

> Or, you could grab the PTV into a variable, and then use it from the tmpl:
>   $FmtPV['$myvar'] = PageVar($pagename,'$:myvar')

This gives me:

Parse error: syntax error, unexpected T_STRING in
/<path>/pmwiki.php(762) : eval()'d code on line 1

Do not know what's wrong. Anyway, the solutions suggested by Hans

Thank you for your help!


More information about the pmwiki-users mailing list