|
Cookbook /
CMSModeSummary: Adds some customizations for a non-wiki (or hybrid) type installation.
Version: 2006-06-25
Prerequisites: PmWiki 2.1
Status: New (beta)
Maintainer: Hagan Fox
This recipe adds some customizations for a wiki site that has a site-wide default edit password but does not have a site-wide read password. DescriptionThe script changes some behavior when a visitor isn't authorized to edit.
Additionally, the script creates a special "public" AllRecentChanges page to use for web feeds. InstallationDownload Attach:cmsmode.phpΔ, copy it to your cookbook/ directory, invoke it with the following somewhere near the end of your config.php file (definitely after any lines involving passwords/authentication):
$pagename = ResolvePageName($pagename);
include_once("$FarmD/cookbook/cmsmode.php");
NotesThe code in this recipe used to be part of the Light skin, and is mainly designed to work with an upcoming version of that skin. Comments
See AlsoContributors |