[pmwiki-users] Sidebars per Group

Hans hans.bracker at googlemail.com
Sat Aug 19 17:02:28 CDT 2006


On 19/08/06, Little, Charles <Charles.Little2 at bellsouth.com> wrote:

> I have CSS defined for the WikiGroup, and the links within the WikiGroup
> are perfectly styled.  However, the links in the sidebar are not.  I was
> before this using code in the Site.SideBar to change the links based on
> current group, and that was styled according to the current group.  But
> the PerGroup side bar is not.

If you defined in config.php $HTMLStylesFmt for specific groups, then
this will be applied to pages of the group, but not to the sidebar.
you need to create groupspecific css files in the pub/css/ direcory.
for instance
pub/css/PmWiki.css for css for the Pmwiki group
likewise
pub/css/Main.HomePage.css for css for page Main.HomePage
and for the whole wiki
pub/css/local.css

~Hans




More information about the pmwiki-users mailing list