• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 How to hide Forums in breadcrumb

Jake Bunce

XenForo moderator
Staff member
#2
That second breadcrumb is always the name of the selected tab. To remove it you must edit this template:

Admin CP -> Appearance -> Templates -> breadcrumb

Find and remove this block of code:

Code:
			<xen:if is="{$selectedTab}">
				<span class="crust"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
					<a href="{$selectedTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{$selectedTab.title}</span></a>
					<span class="arrow"><span>&gt;</span></span>
				</span>
			</xen:if>
 

time

Active member
#5
(y) Like,
<a href="{xen:link logout, '', '_xfToken={$visitor.csrf_token_page}', 'redirect={$requestPaths.requestUri}'}" class="LogOut">

How, If i want redirect -> portal.

 
#12
That second breadcrumb is always the name of the selected tab. To remove it you must edit this template:

Admin CP -> Appearance -> Templates -> breadcrumb

Find and remove this block of code:

Code:
            <xen:if is="{$selectedTab}">
                <span class="crust"{xen:if $microdata, ' itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"'}>
                    <a href="{$selectedTab.href}" class="crumb"{xen:if $microdata, ' rel="up" itemprop="url"'}><span{xen:if $microdata, ' itemprop="title"'}>{$selectedTab.title}</span></a>
                    <span class="arrow"><span>&gt;</span></span>
                </span>
            </xen:if>
Quick question... can you remove JUST the second breadcrumb, and keep all others?

Or does deleting this block of code, get rid of all selected tabs as the user clicks through the site?

Or even better, is there a way to manually change only the second breadcrumb to redirect to another desired page?

Thank you!
 

Jake Bunce

XenForo moderator
Staff member
#13
Quick question... can you remove JUST the second breadcrumb, and keep all others?

Or does deleting this block of code, get rid of all selected tabs as the user clicks through the site?

Or even better, is there a way to manually change only the second breadcrumb to redirect to another desired page?

Thank you!
Removing that block will remove JUST the second breadcrumb for all pages.

The template code is there and can be modified to point elsewhere if you want.