[pmwiki-users] off-topic: Behaviour of non-existiant home page (was: Nested groups)

Hans design at flutesong.net
Fri Jun 3 11:06:19 CDT 2005


Friday, June 3, 2005, 4:32:28 PM, Neil wrote:
> On my wiki [[Group]] points to Group.HomePage. As far as I know, this is
> the default behavior.

pmwiki defines:

   $DefaultGroup = 'Main';
   $DefaultName = 'HomePage';

You can redefine it in config.php to a different default group and an
alternative to HomePage as the default page in a group.

also pmwiki defines

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

which means (I think) given a name as a link or in the address bar
it looks first if a page of that name exists in the current group,
then if it exists in a group of the same name: Group.Group,
then if Group.HomePage exists (or what one has defined as
$DefaultName).

So it finds Group.HomePage only if you have not got a page
Group.Group.


Best, 
~Hans                           




More information about the pmwiki-users mailing list