Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

GroupHomePageChange

Summary: How to rename the group's starting page, i.e., be different than the default "HomePage".
Categories: Administration

Question answered by this recipe

How can the group's starting page be renamed? (Be different than the default "HomePage"?)

Description

Add the following in local/config.php:

    $DefaultName = 'OtherPage';

and adjust OtherPage accordingly.

Comments

Twylite, 2009/09/12: If you set $DefaultName = 'Home' and then create a link to a group that doesn't exist yet (for example [[NewGroup/]]) you will be taken to NewGroup.NewGroup?action=edit rather than the expected NewGroup.Home?action=edit.

To solve this you must change $PagePathFmt in config.php:
  $PagePathFmt = array('{$Group}.$1','$1.{$DefaultName}','$1.$1');
Edit - History - Print - Recent Changes - Search
Page last modified on September 12, 2009, at 12:31 PM