[pmwiki-users] conditional markup and page text variables
Jon Haupt
jhaupt at gmail.com
Sat Feb 17 12:24:12 CST 2007
On 2/17/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> 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
Ah yeah, that would work for me, thanks. I could see this coming to
be a problem with pagelists, though, right?
Jon
More information about the pmwiki-users
mailing list