SV: [pmwiki-users] minor problem in main group change
Patrick R. Michaud
pmichaud at pobox.com
Thu Jun 30 09:20:43 CDT 2005
On Thu, Jun 30, 2005 at 03:58:47PM +0200, Hugo Fjelsted Alrøe wrote:
> $DefaultPage = 'Help.Help'; in the config.php file works.
> I commented it out again, so you can have a look at http://orgprints.org/wiki
Hmm, you're right. I've gone back and re-examined the pmwiki.php code
that handles this, and it's definitely always going for '$DefaultPage'
and not doing the normal search. So, I'll need to fix that. However,
the code that handles this is a bit intricate and I'm afraid any quick
fix I do here will break something else, so for the time being I'd
suggest just using the $DefaultPage route:
$DefaultPage = 'Help.Help';
That will always work.
> -----Oprindelig meddelelse-----
> Fra: Patrick R. Michaud [mailto:pmichaud at pobox.com]
> Sendt: 30. juni 2005 15:54
> Til: Hugo Fjelsted Alrøe; Pmwiki-users at pmichaud.com
> Emne: Re: [pmwiki-users] minor problem in main group change
> On Thu, Jun 30, 2005 at 03:18:04AM -0700, H. Fox wrote:
> > On 6/30/05, Hugo Fjelsted Alrøe <Hugo.Alroe at agrsci.dk> wrote:
> > > I have changed the main group on a site (http://www.pmwiki.org/wiki/Cookbook/MainGroupChange). However, a link to the wiki root will always link to Maingroup/HomePage - I cannot get it go to Maingroup/Maingroup as default even though only this page exists and not the HomePage. When I use a link to the Maingroup root, this will go to Maingroup/Maingroup as it will for other groups. Don't know whether it is a general (though minor) problem.
> > > --Hugo http://orgprints.org/wiki
> > Try
> > $DefaultPage = Maingroup.Maingroup;
> > in your config.php file.
> And use quotes:
> $DefaultPage = "Maingroup.Maingroup";
> However, setting $DefaultGroup *ought* to be sufficient, I don't
> know why that isn't working for you. If you can get me a url
> I'd be glad to take a look.
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users