PDA

View Full Version : Removing the Forum NavTab


Mickie D
09-04-2011, 03:21 PM
I know your all thinking there is loads of posts on this and that is true.

However my problem is unique.

I have managed to remove the Forum Navtab from my forums, And I have made my own custom forum tab that drops down.

However when I go too any other page other than the forums (BLogs, CMS, VBGALLERY) it has the forum navtab ?

It doubles up because on the other pages (blogs, CMS, VBGallery) it has two Forum tabs, the one I want to remove, and my custom one.

Cheers if anyone has a solution, or can tell me where to remove the Forum Navtab so its gone for good on all pages.

Mick

Lynne
09-04-2011, 03:22 PM
It sounds like you didn't really remove it then. Did you edit out all the forum stuff from the navbar template? And are you using the same style on those other pages or a different style?

Mickie D
09-04-2011, 03:27 PM
I am quite sure lynne and thanks for the response.

but not 100% which is the best mod to follow to remove it fully or do you know the exact code to remove ?

Thanks Lynne

Mick

--------------- Added 1315154637 at 1315154637 ---------------

This is the code I removed


<a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a>

Lynne
09-04-2011, 03:49 PM
You cannot just remove that. You need to remove the whole section from:
<vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
To:
<vb:else />
<li><a class="navtab" href="{vb:link forumhome}">{vb:rawphrase forum}</a></li>
</vb:if>

Mickie D
09-04-2011, 03:58 PM
Would you not have to also remove the original

<vb:if>

Can you remove an ELSE and the ending IF without the starting IF

Hope that makes sense.

Thanks very much for the quick reply.

Mick

--------------- Added 1315155745 at 1315155745 ---------------

RE-READ your post again and noticed you said remove the whole area FROM

Sorry Lynne

My bad

Works like a charm :)

Thank you very much

Mick