Summary: Adds some customizations for a non-wiki (or hybrid) type installation.
Version: 2006-06-25
Prerequisites: PmWiki 2.1
Status: New (beta)
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.
Description
The script changes some behavior when a visitor isn't authorized to edit.
- Only pages containing your site's content will appear in search results.
- Access to certain groups / pages is not allowed.
- Only essential site-related actions (no ?action=source, etc.) are allowed.
Additionally, the script creates a special "public" AllRecentChanges page
to use for web feeds.
Installation
Download 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");
Notes
This space is for Author-contributed commentary and notes.
Please use the Comments section for User-contributed feedback.
The 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
This space is for User-contributed commentary and notes.
Please include your name and a date along with your comment.
- 13-Nov-2006 RussFink - has this work been superceded by CMSBundle? Are you maintaining this package anymore?
- Not necessarily and yes. -- Hagan
See Also
Contributors
User notes? : If you use, used or reviewed this recipe, you can
add your name. The following format is recognized:
* (+) Optional positive comment. Name, date
* (-) Optional negative comment. Name, date
These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.