[pmwiki-users] 2.2.0-beta36 release (pagelist template updates)
Patrick R. Michaud
pmichaud at pobox.com
Sun Mar 18 18:13:00 CDT 2007
On Mon, Mar 19, 2007 at 12:06:13AM +0100, SteP wrote:
> SteP wrote:
> > Is there a way in the defaults to exclude pages that *don't have* a
> > PTV set to a certain value? I was thinking
> > (:template defaults -$:var=value:)
>
> [...]
> Then I tried moving $:fmtinclude=-?* into the defaults markup
>
> (:template defaults list=simple $:fmtinclude=-?* name=-RecentChanges
> order=title :)
>
> which confirms what PM said earlier, "I don't think it's possible to
> reliably use any form of page variable within a (:template default:), at
> least not yet."
Hmm. That actually should've worked. :-)
In my other message I really meant only that one cannot use
page variable substitutions inside of (:template default:) and
expect them to work. Specifying a page variable filter, as you've
done here, ought to work.
This is definitely a bug (I even know where), and I'll fix it shortly.
Pm
More information about the pmwiki-users
mailing list