De SimulacreS
<?php $WikiTitle = "MyNewWiki"; $PageLogoUrl = "http://www.example.com/mylogo.gif"; ?>Note that config.php should always begin with
<?php
and end with ?>
. Be sure there aren’t any blank lines or spaces before the <?php
or after the ?>
, or else you’ll get strange PHP error messages at the beginning of your wiki pages.
The config.php file above is setting the value of two PHP variables used by PmWiki. The $WikiTitle
variable gives the name of your site as it will appear in a user’s browser title bar. The $PageLogoUrl variable specifies the URL of the icon image that will appear by default in the upper-left corner of each wiki page. PmWiki lets you set these (and other) variables in config.php so that you can change the look and feel of PmWiki from its default, sometimes substantially so. You can look at PmWiki.Variables for a list of variables that PmWiki uses, and also at PmWiki:PmWikiUsers for examples of other sites that are using PmWiki in customized ways.
After you’ve set up an initial config.php file, you can then begin to look at other Local Customizations you may wish to make to your wiki site. You will also want to visit the PmWiki Cookbook [1] which provides a lot of customizations you may wish to try.
Don’t forget to join a PmWiki mailing list, where you can email other Wiki Administrators for help on customizing PmWiki and participate in discussions about PmWiki improvements. And, once you have your site operational, be sure to add it to PmWiki:PmWikiUsers so others will know about it!
PmWiki.Documentation Index