[pmwiki-users] Advanced category list with pagelist
Patrick R. Michaud
pmichaud at pobox.com
Thu Mar 2 13:29:20 CST 2006
On Mon, Feb 27, 2006 at 01:01:57PM +0100, Thomas Lederer wrote:
> well.. the display of categorial files is supposed to happen with
> pagelist. Is there a syntax, that shows all files (from one group
> actually) without pages markes as a special category?
> Example:(sorry for typos)
> Cooking/Ingredients !Ingredients
> Cooking/Spaghetti !Recipe
> Cooking/Tomatos !Ingredients
> Cooking/Chees !Ingredients
> Cooking/Pizza !Recipe
> Cooking/Recipes !Recipe
> And now i would like to show all pages without Recipes... is that possible?
> I tried:
> (:pagelist link=-Category.Recipe list=normal :)
In other words, you want to get a list of all pages that *don't*
link to a certain page (category)?
Believe it or not, you can do the following:
(:pagelist -Category.Recipe list=normal:)
and you'll get pretty close. The only case this will get
wrong is if a page happens to have the string "Category.Recipe"
in it somewhere that isn't really a category link (which ought
to be pretty rare).
More information about the pmwiki-users