[pmwiki-users] Per-Group Sidebars?

Marc Cooper gmane at auxbuss.com
Fri Jul 14 14:32:28 CDT 2006


Patrick R. Michaud said...
> On Thu, Jul 13, 2006 at 03:19:52PM -0500, Michael Gleicher wrote:
> > Is it possible to specify a different sidebar to be used by a particular 
> > group?
> 
> Sure, just create a page called "SideBar" in that group -- it will
> replace the default Site.SideBar.

An alternative way to do this is to remove the code in the skin that 
gives priority to $group.sidebar over $site.sidebar and embed the 
$group-specific sidebar code within the $site.sidebar with something 
like:

(:if !group site :)
(:include {$Group}.sidebar:) (:if:)

-- 
Best,
Marc





More information about the pmwiki-users mailing list