[pmwiki-users] CMS Behavior in AuthUser . . .

Patrick R. Michaud pmichaud at pobox.com
Fri Dec 30 12:13:18 CST 2005


On Fri, Dec 30, 2005 at 05:23:53PM +0000, Hans wrote:
> Friday, December 30, 2005, 4:03:53 PM, Ben wrote:
> > Basically, the site administrator creates a CMS menu page (e.g.
> > Site.CMSMenu), then edits the site theme template to include this page
> > instead of the normal PmWiki menu. 
> 
> What is the reason for having Site.CMSMenu and including it into the
> skin template? Why not put the conditionally displayed links straight
> into Site.SideBar and protect this page? Then there is no need to
> change the skin template file.

Or, instead of putting the links into Site.SideBar, just put

    (:include Site.CMSMenu:)

and then leave the links in Site.CMSMenu.  This also allows the CMS
links to be password protected separate from the SideBar contents.

Pm




More information about the pmwiki-users mailing list