One of the purposes of WikiGroups
is to allow a WikiAdministrator
to customize the features of PmWiki
on a per-group basis. Here is where PerGroupCustomizations
come into play.
subdirectory (in the same directory that holds
) is used to hold local configuration files. To perform LocalCustomizations
for a particular WikiGroup
, place the customizations in a file called "
is the actual name of the page group in question) in the
subdirectory. This file will be automatically processed after processing any LocalCustomizations
For example, to change the image displayed in the upper-left corner of pages in the "Chess" WikiGroup
, one could create
$WikiImg = "/myimages/chess.gif";
This would cause all pages in the Chess WikiGroup
to use "/myimages/chess.gif" as the logo image instead of the default.
Any customization that would be placed in local.php can be used as a PerGroupCustomization
also allows per-page customizations, simply use the full name of the page to be customized instead of the group. For example, one can use the file
to set local customizations for Chess.HomePage.
For all LocalCustomizations
first processes the
file, and then looks for a per-page customization file in the
subdirectory to process. If there is no per-page customization file then PmWiki
looks for a per-group customization, and if that doesn't exist it looks for a per-group customization file for the group given in Main (usually "Main").
can also be used to host multiple sites in a single PmWiki
installation, see MultiHostWiki
Page Revisions -
Page last modified on July 23, 2003, at 03:24 PM