• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Hide Breadcrumb on index page

Allan

Well-known member
Hide Breadcrumb on index page
_______________________________
This mod hide breadcrumb (top and bottom) on index page

  • In the "PAGE_CONTAINER" template, find:
Code:
<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 by:
Code:
<xen:if is="{$contentTemplate} != 'forum_list'">
                        <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:else />
</xen:if>
  • In the same template, find:
Code:
<div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>
Replace by:
Code:
<xen:if is="{$contentTemplate} != 'forum_list'">
            <div class="breadBoxBottom"><xen:include template="breadcrumb" /></div>

<xen:else />
</xen:if>

French thread: http://xenfrench.com/forum/threads/cacher-le-fil-d’ariane-de-lindex-barre-de-navigation.380/
 

Attachments

  • after.webp
    after.webp
    84 KB · Views: 166
  • before.webp
    before.webp
    78.6 KB · Views: 160
Top Bottom