[pmwiki-users] Odd behavior of Category

David Spitzley dspitzle at wash.k12.mi.us
Tue Jan 3 11:28:14 CST 2006


Ah, cool.  Now that I know the cause, I can see about tweaking things to ensure it shows up.  Thanks!


David
>>> "Patrick R. Michaud" <pmichaud at pobox.com> 01/03/06 12:12 PM >>>
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