[pmwiki-users] Some more questions about page listing and side menu

Sandy pmwiki at onebit.ca
Fri Mar 30 22:22:08 CDT 2007


Sergio Lopes <knitter.is <at> gmail.com> writes:

> 
> How do I make the Project->School->SchoolProject relation? 

The core only does two levels: Group->Page. There are two recent recipes, Hg and
Cluster, that do more levels.


Another thing to look at is Categories. Each page can contain several categories.
http://pmwiki.org/wiki/PmWiki/Categories

Summary: Category is a special group. A page containing a link to
[[Category.One]] belongs to category One. A page can belong to many categories
-- just add lots of links.

[[!One]] is a shortcut for [[Category.One]].

You can then use (:pagelist link=Category.One :) to list all the pages in that
category. Pagelist is a very powerful command, lots of options.

There is a setting in config.php to automatically create the page Category.One
if there is a link to it.

Many people include the following in Category.GroupFooter:
(:pagelist link=Category.{$Name} list=normal:)
This way, when you look at any page in Category, you will see a list of all the
pages "in that category".

If you have [[!School]] and [[!Projects]], you could list pages that belong to
both. Add [[!Hobby]] and [[!Work]] categories, and then you can find hobby
projects and work projects, and, if you are lucky, projects that are both in
hobby and work.

Hope this helps,

Sandy







More information about the pmwiki-users mailing list