[pmwiki-users] Glossary

Patrick R. Michaud pmichaud at pobox.com
Tue Jan 25 15:07:35 CST 2005


On Tue, Jan 25, 2005 at 11:40:09AM -0900, Chris Lott wrote:
> Is there any way to have a "supergroup" so
> that anytime a user makes a word into a link, the first place the
> system looks is in the Glossary group? Has anyone done this kind of
> thing before?

In v2, try the following in config.php:

   $PagePathFmt = 
     array('Glossary.$1', '$Group.$1', '$1.$1', '$1.$DefaultName');

The above says that when given a page name without a group, look
first in the Glossary group, then the current group, then a group
with the same name as the page name, and finally the default name
within that group.  Whichever one is found first is used as the
page target, and if none are found then it's assumed to create a page
in the current group.

Pm



More information about the pmwiki-users mailing list