vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Remove entire navbar from homepage only (https://vborg.vbsupport.ru/showthread.php?t=212028)

mr.trichomes 04-23-2009 09:01 PM

Remove entire navbar from homepage only
 
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

Quote:

Originally Posted by nexialys (Post 1797807)
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.)


All times are GMT. The time now is 11:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01041 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete