PDA

View Full Version : Remove Navbar


MrMichigan
11-03-2008, 01:24 AM
I want to remove the whole navbar just off my forum home page (index.php). But still have it on all the forumdisplay sections. Can this be done?

I thought all I had to do was remove the "$navbar" in the forumhome html. But the navbar still shows up on my home page of my forum.



[x_powered_by_vbulletin]</phrase></title>

</head>

<body>

$header

$navbar

<if condition="$show['guest']">

<!-- guest welcome message -->

Lynne
11-03-2008, 03:15 AM
I don't think you want to remove the whole navbar template because the login stuff is there also. Just put a condition around the navbar stuff in the template:
<if condition="THIS_SCRIPT != 'index'">
all the navbar links
</if>
(This assumes you are talking about the default vb index.php page.)

MrMichigan
11-03-2008, 09:21 AM
I have a custom skin. The links are in my header section and the login section I have setup with vbadvance where it is off to the right of my forum. Here is a link to give you an example.

www.homeentertainmentclub.com

I do not need that navbar for that home page. BUT I still want it for all the other pages when they click a catgory in the forum.

Please, help.

Thank you,
MrMichigan

Lynne
11-03-2008, 02:55 PM
If you moved the navbar into the header template, then removing $navbar will not remove it from the page (that just removes the navbar template). You need to put a condition around the navbar links in whatever template it is in.