Möchten Sie beim Kirchenkaffee helfen und sich in die Liste eintragen lassen?
kirchenkaffee@kaffeeschluerfer.com
Vielen Dank |
PmWiki /
InitialSetupTasks< Installation | Documentation Index | Upgrades > administrators (basic) Once you have PmWiki running on your site (see Installation), you can customize it for your particular needs. Most PmWiki configuration is performed in files called local/config.php and pub/css/local.css. Some configuration is done on special pages in the Site and SiteAdmin groups, such as the Site.SideBar menu. The local configuration file (local/config.php)When you first install PmWiki, the local/config.php file does not exist. Copy the sample-config.php file (in the docs/ directory) to local/config.php and use it as a starting point. You could create local/config.php from scratch, but sample-config.php is already populated with many of the options you might want to adjust. Here is a simple config.php file: <?php if (!defined('PmWiki')) exit(); $WikiTitle = "My New Wiki"; $PageLogoUrl = "http://example.com/mylogo.gif"; # Uncomment and correct these if PmWiki fails to detect the browser-reachable URLs #$ScriptUrl = 'http://example.com/pmwiki/pmwiki.php'; #$PubDirUrl = 'http://example.com/pmwiki/pub'; $DefaultPasswords['admin'] = pmcrypt('onesecret'); $EnableUpload = 1; $DefaultPasswords['upload'] = pmcrypt('secrettwo'); # Uncomment and change these if your server is not in your timezone # date_default_timezone_set('America/New_York'); # if you run PHP 5.1 or newer # putenv("TZ=EST5EDT"); # if you run PHP 5.0 or older $TimeFmt = '%B %d, %Y, at %I:%M %p %Z'; Note that config.php begins with The config.php file above sets the value of PHP variables used by PmWiki:
By setting these (and other) variables in local/config.php, you can change the look and feel of PmWiki from its default, sometimes substantially so. See PmWiki.Variables for a list of variables that PmWiki uses, and see PmWiki:PmWikiUsers for examples of sites that use PmWiki in customized ways. Other common setup tasksThe following variables are often requested when preparing a new wiki
These common Cookbook recipes are also often installed immediately
If you prepare an international wiki, potentially with characters in different alphabets (Cyrillic, Greek, Chinese) or many diacritical symbols (Czech + French), please look at PmWiki.UTF-8 and Cookbook:UTF-8. SecurityReview and set up any security required. Setting an administrative passwordThe pages in the Site group (except the $DefaultPasswords['admin'] = pmcrypt('mysecret');
You must use the Don't modify or rename pmwiki.phpPmWiki has been designed so that all customizations can be made without changing the distribution files -- one of its design goals is to provide seamless upgrades. PmWiki never writes to files in the local/ or cookbook/ directories, so placing your customizations here makes it easier to track the changes and upgrade PmWiki without losing the changes. When changing the configuration of your site, always change the local/config.php file or add files to the cookbook/ or pub directories. Do not change pmwiki.php or the files in the scripts/ directory because the files are supposed to be overwritten upon upgrading. You shouldn't rename pmwiki.php either. If you rename the file it will not be overwritten during an upgrade of the software and there will be a version mismatch. Many administrators add an index.php "wrapper script" in the pmwiki directory that contains the following single line: <?php include('pmwiki.php');
Just make a text-file. Paste Other organisationUpload directoriesBy default Pmwiki uses an upload directory for each group (see Uploads administration. Deciding on accepting the default, or choosing an alternative (eg one directory for the entire wiki, or one directory per page) is best done when setting up your wiki. Page store directoriesBy default Pmwiki uses a single page store directory (wiki.d). Deciding on accepting the default (recommended), or choosing the alternative (one directory per group) is best done when setting up your wiki. [1] Category GroupFooterFor a new wiki the page Category.GroupFooter can be updated to (:pagelist category={*$Name} list=normal:)
so that only categorised or tagged pages, i.e. those with Other customizationAfter setting up local/config.php file, you may wish to make other local customizations. See the PmWiki Cookbook for a large number of customizations that have been contributed. And don't fear Cookbook recipes - they're well prepared, so that most of them require only to download a single file, add a one-line include command to If you (or others sharing your server) want to maintain more than one wiki on the same server, see Wiki Farms. Now what?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. Once you have your site operational, be sure to add it to PmWiki:PmWikiUsers so others will know about it! < Installation | Documentation Index | Upgrades > This page may have a more recent version on pmwiki.org: PmWiki:InitialSetupTasks, and a talk page: PmWiki:InitialSetupTasks-Talk. |