[pmwiki-users] Hiding the SideBar in templates
Hans
design at flutesong.fsnet.co.uk
Tue Jun 28 05:16:26 CDT 2005
Tuesday, June 28, 2005, 10:53:49 AM, Martin wrote:
> But actually, I want to get rid of the <div class="sidebar"> - tag in
> my example, as well.
> Do you know any solution for this?
Put this in the template:
<!--PageLeftFmt-->
<div class="sidebar">
<!--wiki:$Group.SideBar-->
</div>
<!--/PageLeftFmt-->
and use (:noleft:) in any group's GroupHeader page which you don't
want sideabars.
or instead of markup put in config.php:
$sbr = FmtPageName('$Group.SideBar',$pagename);
if (!PageExists($sbr)) SetTmplDisplay('PageLeftFmt', 0);
Best,
~Hans
More information about the pmwiki-users
mailing list