|
Cookbook /
PageActionSummary: Change the page actions on a page-by-page basis
Version: 2010-09-02
Prerequisites: PmWiki 2.2.14 and later (untested on prior versions)
Status: new
Maintainer: bereiden
Categories: Administration Links
Download: page-action.phpΔ
Questions answered by this recipeHow can I control or change the default page actions for individual wiki pages? For example, I want a certain page to always be viewed in print mode. DescriptionThis recipe lets you modify the page actions on a page-by-page basis InstallationDownload page-action.phpΔ, copy to the cookbook/ folder and include the following line in config.php: include_once("$FarmD/cookbook/page-action.php");
UsageThe page action for each individual wiki page can be modified by including the following markup on the page:
In the first form, when a page is accessed with In the second form, when a page is accessed with the default action ( For example, (:pageaction print:)
(:pageaction print=browse:)
Notes
Release Notes
See AlsoContributorsCommentsUser notes? : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki. |