|
Cookbook /
MainGroupChangeSummary: How to change the Main (startup) group
Version:
Prerequisites:
Status:
Maintainer: PRZ
Categories: Administration
QuestionHow can I change the Main group (startup group) ? AnswerTo create a new startup group, you can use the variable
But the 'Main' group shall stay because some pages remains attached to the 'Main' Group:
As of 2.0.beta44, the above pages are no longer in the 'Main' group, so much of this recipe no longer applies. --Pm
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/PmWiki/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 = 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');
Discussion
See alsoContributors
|