[pmwiki-users] Using variable in skin template

DaveG pmwiki at solidgone.com
Fri Oct 23 16:29:41 CDT 2009

Sven Hartenstein wrote:
> 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 table as the logo (i.e. in the
> skin), so that the two areas do not overlap...
> Any chance of using a PageTextVariable in the skin template?
How about just using the PTV from the GroupHeader? So user defines the 
PTV in the page body:
MyQuote:Here's my quote

Or hide it with:
(:MyQuote:Here's my quote:)

And in the group header:
My quote is {$:MyQuote}.

Style the myquoteclass as appropriate.

  ~ ~ David

More information about the pmwiki-users mailing list