vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Removing breadcrumb? (https://vborg.vbsupport.ru/showthread.php?t=318292)

Duckface 04-17-2015 09:33 PM

Removing breadcrumb?
 
https://vborg.vbsupport.ru/external/2015/04/18.png

How can I remove this from the forum home page, not globally? I've looked in the forumhome template and I can't seem to accurately identify the position. Does anyone here know? When I did try it removed the entire forum, thus I assume it's integrated in there? I just want to hide it.

kh99 04-17-2015 09:53 PM

That's the "breadcrumb" and it's in the navbar template. Adding <vb:if condition="THIS_SCRIPT != 'index'"> ... </vb:if> around that part of the navbar template might work.

Duckface 04-17-2015 09:54 PM

Would adding notes around the breadcrumb code work?

kh99 04-17-2015 09:55 PM

Quote:

Originally Posted by Duckface (Post 2543399)
Would adding notes around the breadcrumb code work?

Sorry, I'm not sure what you mean by that.

Duckface 04-17-2015 10:01 PM

Html notes, i.e. <!-- -->

kh99 04-17-2015 10:06 PM

Oh, well, if you do that then it will be removed everywhere. If you just want to remove it from the home page, put the tags I posted above around it, like:
Code:

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


Duckface 04-18-2015 07:57 PM

Thanks for your help, it worked.

Although a small piece is still there. The code in the headerinclude looks like this atm:

Code:

<div class="body_wrapper">
<div class="outer_border">
<vb:if condition="THIS_SCRIPT != 'index'">
  <div class="inner_border">
<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>
    </div>
    <div class="clear"></div>
  </div>
</div>
</vb:if>

Resulting in:


When I move it up a div, it removes too much :S.

Lynne 04-18-2015 08:27 PM

That is probably some CSS doing that, not the code. I'm guessing it may even be some spacing added via CSS for the Chatbox. We would need a link to view the issue.

Duckface 04-18-2015 08:28 PM

I see, I thought it would be the css as well. I'll take a look at the chatbox css and see if a border is being made.


All times are GMT. The time now is 08:59 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.01005 seconds
  • Memory Usage 1,726KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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