On Friday 24 September 2010 03:16:07 Scott wrote: > I am trying to use a conditional statement in my template: > > (:if ! group Main:) > <!--wiki:Main.SideBar Main.SideBar--> > <hr> > (:ifend:) > <!--wiki:$Group.SideBar Main.SideBar--> > > Unfortunately, this just outputs the conditional. I also tried the php > variant and a few other things. > > What is the correct way to accomplish this?
Hello. If you want to always display the Main.SideBar page, just use <!--wiki:Main.SideBar--> Otherwise, it is simpler to place the conditionals inside the pages, and not in the templates. Thanks, Petko _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
