PDA

View Full Version : Hiding forums


ZombieAndy
08-21-2008, 05:26 PM
Is there any way to hide a specific forum when a user is using a specific style? maybe through templates?

My webmaster has links which are set as forums, but on my styles i would prefer to have them as navbar links, i already know how to set up the links in the navbar but i dont know how to hide the redundant forums on my styles.

Help?

Lynne
08-21-2008, 05:35 PM
It almost sounds like you need to put a condition around the whole template (a forumdisplay_ template?) like
<if conditon="$forumid!=x">
leave the template as is
</if>

I haven't tested that, but you can see if that works. (Maybe have to do $forum[forumid] or something like that.)