PDA

View Full Version : Do not show if categoryid = ?


djxcee
10-03-2008, 11:01 PM
How do I not show a something on forumhome_forumbit_level1_nopost of specific category but by default is shown on everything else?

I want to hide Forum, Last Post, Threads & Posts for a category but shows on all the other categories.

Basically I need the complete opposite of:
<if condition="$forumid == xxx">... </if>

Amenadiel
10-04-2008, 12:07 AM
<if condition="$forumid != xxx'">

djxcee
10-04-2008, 12:37 AM
I get an error using that code.

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /var/www/vhosts/com/subdomains/test/httpdocs/includes/functions_forumlist.php(399) : eval()'d code on line 11

--------------- Added 1223085653 at 1223085653 ---------------

Fixed the problem by removing a '.
<if condition="$forumid != X"></if>
Thank for the help :).