[pmwiki-users] Problems with WikiFarm and $DefaultPage

Patrick R. Michaud pmichaud at pobox.com
Tue Apr 4 08:10:51 CDT 2006


On Tue, Apr 04, 2006 at 02:59:51PM +0200, Torsten Gräßler wrote:
> Hi everyone...
> 
> I have set up a wiki farm with two wiki fields.
> In each field/local/config.php I have specified
> $DefaultGroup, $DefaultName and $DefaultPage:
> 
> $DefaultGroup="MyGroup";
> $DefaultName="StartPage";
> $DefaultPage="$DefaultGroup.$DefaultName";
> 
> But when I go to these fields without page parameter,
> I am on Main.HomePage! I have tried to set $DafaultPage
> manually: $DefaultPage="MyGroup.StartPage"; -> But this
> did not work, too.
> 
> What can I do to specify $DefaultPage?

What do you have in your farmconfig.php?

Also, be sure to set $DefaultGroup and $DefaultName
very early in the configuration file, otherwise another
recipe may come in and resolve the pagename for you
before these have been set.

Pm




More information about the pmwiki-users mailing list