[pmwiki-users] conditional markup and page text variables

Patrick R. Michaud pmichaud at pobox.com
Sat Feb 17 11:54:11 CST 2007


On Sat, Feb 17, 2007 at 11:23:45AM -0600, Jon Haupt wrote:
> I'm trying to write something like this in a group header:
> 
> (:if equal {{*$FullName}$:Blah} '1':)
> Oatmeal
> (:if:)

You're correct that nested variables do not yet work
inside of conditional.  I guess as more people are using
nested variables in this way I had better fix that.

However, in this particular example, you'd be better off
writing the following (which does work):

    (:if equal {*$:Blah} '1' :)
    Oatmeal
    (:if:)

Pm



More information about the pmwiki-users mailing list