[pmwiki-users] Conditionals in Templates

Scott scott at judyscot.org
Thu Sep 23 20:16:07 CDT 2010


  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?

Thanks,

sdlaw




More information about the pmwiki-users mailing list