[pmwiki-users] Changing default group...

chr at home.se chr at home.se
Sun Jun 12 09:30:04 CDT 2005


In order to change the default place for the sidebar, I think I currently 
have to modify the page template because it looks like this:

      <td id='wikileft' valign='top'>
        <!--wiki:$Group.SideBar Main.SideBar--></td>
	<!--/PageLeftFmt-->

Would it be possible to replace it with something like this:

      <td id='wikileft' valign='top'>
        <!--wiki:$Group.SideBar $DefaultGroup.SideBar--></td>
	<!--/PageLeftFmt-->

I did the above change to my pmwiki.tmp and it works as expected, i.e. 
simply changing $DefaultGroup also implies that the location of the 
default sidebar changes. 

/Christian

PS. I've looked at http://www.pmwiki.org/wiki/Cookbook/MainGroupChange and
http://www.pmwiki.org/wiki/Cookbook/SideBarNameChange but didn't find a
better solution other than changing the template.

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list