administrators (advanced) Once you have a working WikiFarm there are many additional features you can add. This page describes some of them briefly and provides links to more detailed pages.
This page is currently just a stub, and authors are encouraged to add appropriate content.
Existing pages that might belong here and could use a short explanation:
administrators (advanced) The WikiFarm page describes only one way of configuring a wiki farm. There is no "right way" to set up a farm. Every scheme has its own advantages and disadvantages.
Here are some examples:
Is there a way to get the farmconfig.php to include a recipe in the local wiki and not the one in the wikifarm cookbook directory when both of the recipes have the same filename?
Yes, of course. The following are always true:
## load from local wiki include_once('cookbook/recipe.php'); ## load from farm wiki include_once("
If you want to include a recipe from the farm cookbook only if it's not in the local cookbook, you can do:
if (file_exists('cookbook/recipe.php')) include_once('cookbook/recipe.php'); else include_once("
I would like to take advantage of 2.1.15
$LocalDir to use the central pergroup/perpage customisation file (without having to create one in each field) but I don't see how I can have different config.php for each field this way.
Easy...near the end of farmconfig.php:
## disable PmWiki's local/config
$EnableLocalConfig= 0; ## explicitly include wikifield's local/config.php include_once('local/config.php'); ## change
$LocalDirfor the per-group/per-page customizations ## (they will appear in /soft/pmwiki/local/Group.PageName.php)