|
ThisFarm<< Bibtex Ref | Cookbook-V1 | eProtect >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
GoalReferencing to a group/page within another field within a wiki-farm. SolutionIf your wiki-farm structure looks like that (from browser's point of view !): /baseURLforWiki/
/fieldA/ - wiki data of field A
/fieldB/ - wiki data of field B
/pmwiki.1.x.x/ - pmwiki installation
(for other structure the script should be easily customized) Create a Intermap: enter the following lines into your config.php (or farmconfig.php): $LinkPatterns[100]["ThisFarm:($UrlPathPattern)"] = $FmtUrlLink; $InterMapUrls['ThisFarm'] = 'baseURLforWiki$1'; DiscussionIf your're running a WikiFarm, you can link to other links of the farm including the following code in a page: ThisFarm:/fieldname/ - entry group and page ThisFarm:/fieldname/?pagename=Group/Pagename - specific group and page See Also
History2004/09/24 first implementation Comments & BugsContributorsAutorKAL pmwiki-2.2.36 -- Last modified by {{KAL}}
|