How can I change the Main group (startup group) ?
To create a new startup group, you can use the variable
$DefaultGroup = 'MyMainGroup'; #in 'local/config.php' file
But the 'Main' group shall stay because some pages remains attached to the 'Main' Group:
- Main.AllRecentUploads (not yet operational)
There is an occurrence of the 'Main' group in the templates, for SideBar call. Create first the new 'SideBar', next the call will be modified by modifying the template (*.tmpl) (see also SideBarNameChange).
If you have international page, the XLPage (see http://www.pmwiki.org/wiki/Localization/XLPageTemplate) takes care of the 'Main/SearchWiki' page in the lines :
###### page locations 'Main/SearchWiki' => '',
The 'Main.AllRecentChanges' Page name shall be modified by defining the array
$RecentChangesFmt in config.php :
$RecentChangesFmt = array( '$DefaultGroup.AllRecentChanges' => '* [[$Group.$Name]] . . . $CurrentTime $[by] $AuthorLink', '$Group.RecentChanges' => '* [[$Group/$Name]] . . . $CurrentTime $[by] $AuthorLink');
You may also localize the name of the RecentChanges page in the above array at your will.
While the AllRecentUploads is not yet functional (beta 14), we may expect that when it will be, we will have to change it similarly.
The Main.ApprovedUrls page can be changed by setting in local/config.php :
$ApprovedUrlPagesFmt = array('$DefaultGroup.ApprovedUrls');
- PRZ October 16, 2004, at 06:17 AM
See discussion at MainGroupChange-Talk