GroupHomePageChange

Summary: How to rename the group's starting page, i.e., be different than the default "HomePage".
Version: N/A
Maintainer: Petko

Users: +1

Categories: Administration, PHP72

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.

For example, on a wiki in French language, you could set in config.php:

  $DefaultGroup = "Accueil";
  $DefaultName  = "Accueil";
  $DefaultPage  = "Accueil.Accueil";

See the documentation for $DefaultGroup, $DefaultName and $DefaultPage.

See also the bug

  • 01220   Group homepages not resolved correctly when group only supplied

Comments

See discussion at GroupHomePageChange-Talk

User notes +1: If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.