[pmwiki-users] Hiding the SideBar in templates
Martin Spindler
martin at mdlink.de
Tue Jun 28 03:58:13 CDT 2005
Hi list,
how can I completely hide a SideBar in a skin-template?
I know, I could use the Markup() command by defining something like
(:nosidebar:), but I want to have it only dependent on whether the
$Group/SideBar exists or not:
Here is, what I would like to have:
--- skin-template.tmpl snip ---------------
<!--HasSideBar-->
<div class="sidebar">
<!--wiki:$Group/SideBar-->
</div>
<!--/HasSideBar-->
--- skin-template.tmpl snap ---------------
where <!--HasSideBar--> is a conditional triggering whether
$Group/SideBar exists or not.
Any suggestions?
Thanks in advance,
Martin.
More information about the pmwiki-users
mailing list