Log in

View Full Version : Remove "Forum/Last Post/Threads/Posts" Header from just ONE category


The Equivocate
08-02-2007, 12:13 PM
Hey, I have one category set up using the Multiple Forums in Columns view. So obviously when they are in different columns, the row/header that says "Forum" "Last Post" "Threads" and "Posts" is useless for that particular column because they don't line up anymore. Is there a simple way to remove this header from a specific category, or can I only remove it from all at once (which I figured out, but made the other normal categories look like crap). Thanks

MaestroX
08-02-2007, 12:21 PM
Can you provide a link to your forum so we can help more effectively?

The Equivocate
08-02-2007, 01:01 PM
http://imagehost.dynastymedianetworks.com/images/353782example.jpg

The bunch of black boxes are forum names. Eventually they will have the threads/posts/last post beneath them, but the general idea is that it's 3 forums across. So at the top where it says Forum then Last Post etc it is trying to line it up with where the forum name and last post and threads/postd SHOULD be, as seen in category test1. Basically I want to get rid of the blue bar between that first red box (the category name) and above the other black boxes (the forum names set up in categories).

I mean I can figure out how to remove that bar all together but then it gets rid of it for every category, and I want it to still be in the other categories (like test1)

MaestroX
08-02-2007, 01:19 PM
You should be able to do this by wrapping a conditional around the html and change X to the forumID where you don't want it to be displayed.

So something like this:


<if condition="$forum[forumid] != X">
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</if>


Hope this helps

The Equivocate
08-02-2007, 01:39 PM
Awesome, that did it. Thanks for such a quick response too.

MaestroX
08-02-2007, 01:42 PM
No problem, glad to help :)