Dear pmwiki-users,
I have a lot of fun discovering pmwiki and I already like it very
much.
One thing I can't figure out, even after reading many pages on
pmwiki.org:
I would like to use a variable in my skin template. Ideally, this
would be similar to the
(:title Title of Page:)
markup, but
Hi Dave,
thank you for your answer!
I would like to use a variable in my skin template. Ideally, this
would be similar to the
(:title Title of Page:)
markup, but I'd be ok with using a PageTextVariable. So, is it
possible to use such a variable in the skin template? {*$:MyVariable}
Hi Hans,
Then maybe it is easiest to use div markup for those quotes, with a
specific class name, and use css to set the div where you want it.
But you would need to absolutely position it.
That's what I currently do. I am not very happy with it. I would
prefer to set the text in the same
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
This works perfectly! Thank you a lot! :-)
Sven
* Hans desi...@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
And this works perfectly, too. :-)
Thank you!
Sven
* Hans desi...@softflow.co.uk:
Friday, October 23, 2009, 10:12:41 PM, Sven Hartenstein wrote:
Any chance of using a PageTextVariable in the skin template?
you can do it even without setting a PV.
just addd to your skin template