vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to hide breadcrumb on the homepage... (https://vborg.vbsupport.ru/showthread.php?t=237592)

vexxy 03-05-2010 08:39 PM

How to hide breadcrumb on the homepage...
 
I want to hide the breadcrumb on the main page, as the title suggests. Now, i suppose this can be done with an if ( if home ) but I don't know the syntax for vb 4.0

I need to start the if, then:

Code:

<div id="breadcrumb" class="breadcrumb">
        <ul class="floatcontainer">
                <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" accesskey="1"><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

                {vb:raw navbits.breadcrumb}
                {vb:raw navbits.lastelement}
        </ul>
        <hr />
</div>

then end the if.

correct me if i'm wrong anywhere...and please, if you know that conditional

Lynne 03-05-2010 08:56 PM

Assuming you are talking about the forum.php page:

HTML Code:

<vb:if condition="THIS_SCRIPT != 'index'">
breadcrumb code
</vb:if>


vexxy 03-06-2010 08:28 AM

tnx alot once again Lynne...helpful as always ;)

sdavis2702 08-01-2011 12:39 AM

^^^ Awesome... I needed that too! Thanks.

setishock 08-02-2011 04:13 AM

Put this is your additional.css and the breadcrumbs go away everywhere.
Code:

.breadcrumb > ul { display: none; } /* Creates a world of navigation problems */
But like the comment says it creates a world of navigation problems. The members either have to click one of the nav buttons or use the browser back button.

christian gate 11-11-2011 12:40 AM

Is ther a similer code to remove the forum only icon eg: when clicked on the subforum, will show the breadcrumb of the subforum but not the main forum and when going to child forum will include everything exept forum.

Thanks in advance


All times are GMT. The time now is 03:28 AM.

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.01069 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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