[pmwiki-users] pmwiki-2.2.0-beta2 released ({$:var} markup)

Patrick R. Michaud pmichaud at pobox.com
Wed Sep 27 08:33:03 CDT 2006


On Wed, Sep 27, 2006 at 03:23:20PM +0200, Thomas -Balu- Walter wrote:
> On Mon, Sep 25, 2006 at 04:03:02PM -0500, Patrick R. Michaud wrote:
> > Essentially {$:var} can be used to extract values from pages 
> > containing any of the following markups:
> > 
> >     var: value              # line beginning with "var:"
> >     :var: value             # definition list form
> >     (:var: value:)          # directive form
> 
> Is there a way to use those variables in a skin?

At present, no.  I've been thinking that it wouldn't be too
difficult to add if we found a definite use for it, however.

> I'm thinking of using them e.g. in group headers to switch some image
> in the skin template or similar.
> 
> PS: But then people will be able to switch those in the page too - hm.

Yes, there's a definite possibility for abuse once these variables
appear in the skin and not in the markup.  

Pm




More information about the pmwiki-users mailing list