Log in

View Full Version : Remove entire navbar from homepage only


mr.trichomes
04-23-2009, 09:01 PM
Ive tried searching on here and google with no luck, want to know the easiest way to do this.

I want to remove the entire navbar from just the homepage and then when you click any thread have it show up like normal, but no navbar on just the homepage. Seems like there would be a simple template mod for this. Thanks in advance to anyone to can answer this asap.

Lynne
04-23-2009, 09:23 PM
Do you mena the whole navbar template or just the code for the navbar? If the template, remove $navbar from teh FORUMHOME template. If the navbar code, put <if condition="THIS_SCRIPT == 'index'"></if> around the navbar code in the navbar template.

mr.trichomes
04-23-2009, 11:13 PM
ok lynne thank you very much, I realized with my style I can't really do what I want, or just simply ask it here, but you made me realize what I need to look into so thank you again.

nexialys
04-23-2009, 11:26 PM
by homepage, you mean the forumhome ?!

edit template "forumhome", just drop the $navbar element

no need of a condition like Lynne indicated.

btw, google is not good on support, it's just a repository of words.

Lynne
04-24-2009, 02:29 AM
by homepage, you mean the forumhome ?!

edit template "forumhome", just drop the $navbar element

no need of a condition like Lynne indicated.
If he wants to keep the login box and breadcrumbs then he needs to do it the way I indicated. The navbar template has those things there also. (And I did specify that if he meant the $navbar template, then he could do it the way you then suggested.)