[pmwiki-users] heirarchical navigation

Patrick R. Michaud pmichaud at pobox.com
Thu Dec 15 14:57:38 CST 2005


On Thu, Dec 15, 2005 at 03:55:48PM -0500, Waylan Limberg wrote:
> On 12/15/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > While an author can't turn off the group link, the administrator
> > certainly can.  If you're using the default PmWiki skin, just
> > use the following line in config.php:
> >
> >     $HTMLStylesFmt['pagegroup'] = ' .pagegroup { display:none; } ';
> >
> > Or you can place the following line into pub/css/local.css:
> >
> >     .pagegroup { display: none; }
> >
> 
> Or for that matter, you could even edit the template file and
> completely remove the pagegroup from the template.
> 
> As far as using trails, you may like to look at this example of how I
> got it to work at:
> http://warrenforestcourt.org/Rules/Rules
> 
> The trail is defined by the multi-level list at Rules/Rules (which
> also serves as the TOC) and  I used the TrailMenu recipe for the
> sidebar and the TitleOf recipe ( which I believe is now part of PmWiki
> core) to get the longer page titles to display instead of the shorter
> pagenames. Sorry, its not publicly editable, so you can't see how I
> did the markup, but if you have any questions just ask.

Unless you've changed the default permissions, ?action=source will 
display the markup.  :-)

And yes, TitleOf is now part of the core.

> As a side note, you may notice the convoluted numbering system (thanks
> to attorneys). I had initially tried to create my own cms for the
> site, but was having difficulty getting the numbering system to sort
> properly from a database. PmWiki's trail removed all those headaches.

This is a nice success story to hear about.  :-)

Pm




More information about the pmwiki-users mailing list