[pmwiki-users] Odd behavior of Category

Patrick R. Michaud pmichaud at pobox.com
Tue Jan 3 11:12:52 CST 2006


On Tue, Jan 03, 2006 at 11:55:11AM -0500, David Spitzley wrote:
> Ok, I can't figure this out.  I have a Category of Important, which 
> you can see displayed at 
> http://www.davidaspitzley.org/Dissertation/index.php?n=Category.Important .  
> The page Category.Readings has been added to Important, but for some reason 
> Category.Important doesn't include that page in the list.  I've narrowed 
> the problem down to the presence of the following line  in Category.Readings:
> (:pagelist group=Readings fmt=simple -Template -Readings.Readings list=normal:)

Your Category.GroupFooter says

   (:pagelist !{$Name} -Template list=normal:)

That "-Template" argument says to eliminate any page that contains
the word "template" in the text.  Since Category.Readings has the
word "Template" in it (in its pagelist markup), it's being excluded 
from the list.

At the moment there's not a way to exclude specific pages by name
except through custom list= options.  (I'm still planning to allow
wildcard name inclusion/exclusion -- e.g., "name=-*.Template", but
it's not done yet.)

Pm




More information about the pmwiki-users mailing list