phpgtk__legacy/wiki1/wiki.d/PmWiki.PerGroupCustomizations

22 lines
3.2 KiB
Text

version=pmwiki-1.0.5
newline=²
text=One of the purposes of {{WikiGroup}}s is to allow a WikiAdministrator to customize the features of PmWiki on a per-group basis. Here is where PerGroupCustomizations come into play.²²The @@local/@@ subdirectory (in the same directory that holds @@pmwiki.php@@) is used to hold local configuration files. To perform LocalCustomizations for a particular WikiGroup, place the customizations in a file called "@@Group.php@@" (where @@Group@@ is the actual name of the page group in question) in the @@local/@@ subdirectory. This file will be automatically processed after processing any LocalCustomizations in the @@config.php@@ file.²²For example, to change the image displayed in the upper-left corner of pages in the "Chess" WikiGroup, one could create @@local/Chess.php@@ containing²² <?php² $PageLogoUrl = "/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.²²Almost any customization that would be placed in @@config.php@@ can be used as a {{PerGroupCustomization|s}}.²²[[#PerPage]] PmWiki 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 @@[=local/Chess.HomePage.php=]@@ to set local customizations for [=Chess.HomePage=].²²For all LocalCustomizations, PmWiki first processes the @@local/config.php@@ file, and then looks for a per-page customization file in the @@local/@@ 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 by the $DefaultGroup (usually "Main").²²{{WikiGroup}}s can also be used to host multiple sites in a single PmWiki installation, see MultiHostWiki.²²%trail% <<|PmWiki.DocumentationIndex|>>
time=1104152954
host=68.167.115.34
agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
rev=26
post= Save
author=scott
name=PmWiki.PerGroupCustomizations
diff:1100969540:1086319459:=20c20²< [[http://seagate.hddx.com/ &#31508;&#35760;&#26412;]] [[http://ibm.hddx.com/ &#25968;&#30721;&#25668;&#20687;&#22836;]] [[http://wd.hddx.com/ &#25171;&#21360;&#26426;]] [[http://drive.hddx.com/ &#25668;&#20687;&#22836;]]²---²> ²
author:1100969540=data
host:1100969540=210.90.223.227
diff:1100979497:1100969540:=20c20²< ²---²> [[http://seagate.hddx.com/ &#31508;&#35760;&#26412;]] [[http://ibm.hddx.com/ &#25968;&#30721;&#25668;&#20687;&#22836;]] [[http://wd.hddx.com/ &#25171;&#21360;&#26426;]] [[http://drive.hddx.com/ &#25668;&#20687;&#22836;]]²
author:1100979497=scott
host:1100979497=68.193.191.197
diff:1103972950:1100979497:=6d5²< [[http://www.blogcn.com/user23/recovery/index.html _]] [[http://www.blogcn.com/user23/rescue/index.html _]] [[http://freehost18.websamba.com/rescue/ _]] [[http://www.freewebs.com/datarestore/ _]]²
author:1103972950=
host:1103972950=210.90.223.227
diff:1104152954:1103972950:=5a6²> [[http://www.blogcn.com/user23/recovery/index.html _]] [[http://www.blogcn.com/user23/rescue/index.html _]] [[http://freehost18.websamba.com/rescue/ _]] [[http://www.freewebs.com/datarestore/ _]]²
author:1104152954=scott
host:1104152954=68.167.115.34