1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you want premium products then purchase our VIP or SVIP plans
  3. Dont forget read our rules HERE Also anyone caught Leeching this content or Scamming will be banned on numerous networks.
    Dismiss Notice
  4. Dont forget we do not allow Multiple Accounts, so all of your accounts as well as your IP will be banned.
    Dismiss Notice
  5. Tired of Download Limits ? UPGRADE Today!
    Dismiss Notice

FREE Remove the breadcrumbs from a specific node

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 21, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    1,143
    Trophy Points:
    113
    Gender:
    Male
    This particular edit can be used if you want to set a Page as the home page.
    It works much better without the top and bottom breadcrumbs as it looks more like a static page, rather than part of the forum, which of course it still is.

    So the header, footer and styling all remain, just the breadcrumbs are removed.

    In the code below, change the 'node-55' for the actual node id of your page.
    You can check the node id in the ACP by clicking on the node title and it will be displayed in the URL.

    Open the PAGE_CONTAINER template and find this:
    Code:
    <!-- top breadcrumb, top ctrl -->
    <div class="breadBoxTop">
        <xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
        <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
    </div>
    Replace it with this:
    Code:
    <!-- top breadcrumb, top ctrl -->
    <xen:if is="{$quickNavSelected} != 'node-55'">
    <div class="breadBoxTop">
        <xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
        <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
    </div>
    </xen:if>
    Then find this:
    Code:
    <div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
    Replace it with this:
    Code:
    <xen:if is="{$quickNavSelected} != 'node-55'">
    <div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
    </xen:if>
     

Share This Page

Post thread