Still tinkering around with an idea for creating an easily enabled
hierarchical groups system in PmWiki without having to change core.

1) So far I have code to create subgroup page variables, ie.

Pets-Care-Groom.Poodle produces:
{$g1} = Pets
{$g2} = Care
{$g3} = Groom

This helps to make links easier, makes pagelists of subgroups easy and
even allows simple breadcrumbs of a hierarchy.

2) Thanks to a tip from Pm, I think I have the info I need to make
local config files and local css files available to hierarchical
groups.  That is PmWiki will look for Pets-Care-Group.Poodle.php,
first, then Pets-Care-Groom.php, Pets-Care.php and Pets.php in that
order.  The same with CSS.  This is one of the great reasons we need
hierarchical groups.

3) I'm still missing, however, an idea for how to to a pagelist that
returns a subgroup. For example, suppose I had pages:

Animal-Canine.Poodle
Animal-Canine.Shepherd
Animal-Canine.Collie
Animal-Feline.Persian
Animal-Feline.Tabby
etc.

Can anyone suggest a way to produce a page list that would return the
subgroups in Animal, ie, only one instance each of:

Canine
Feline

Thanks in advance. PmWiki is a great community...

Cheers,
Dan

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to