Rob Well-known member Mar 19, 2014 %22 data-success="Embed code HTML copied to clipboard." class=""> #1 I'd like to change "resources" to "educational resources", but only in the breadcrumbs. Can this be done as I do not currently see an easy way. Thanks for your help.
I'd like to change "resources" to "educational resources", but only in the breadcrumbs. Can this be done as I do not currently see an easy way. Thanks for your help.
Chris D XenForo developer Staff member Mar 19, 2014 %22 data-success="Embed code HTML copied to clipboard." class=""> #2 If you edit the breadcrumb template and find: HTML: <xen:if is="{$selectedTab}"> <span class="crust selectedTabCrumb"{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>></span></span> </span> </xen:if> Replace with: HTML: <xen:if is="{$selectedTab}"> <xen:if is="{$selectedTab.title} == '{xen:phrase resources}'"> <xen:set var="$selectedTab.title">Educational Resources</xen:set> </xen:if> <span class="crust selectedTabCrumb"{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>></span></span> </span> </xen:if> Upvote 0 Downvote
If you edit the breadcrumb template and find: HTML: <xen:if is="{$selectedTab}"> <span class="crust selectedTabCrumb"{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>></span></span> </span> </xen:if> Replace with: HTML: <xen:if is="{$selectedTab}"> <xen:if is="{$selectedTab.title} == '{xen:phrase resources}'"> <xen:set var="$selectedTab.title">Educational Resources</xen:set> </xen:if> <span class="crust selectedTabCrumb"{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>></span></span> </span> </xen:if>
Rob Well-known member Mar 20, 2014 %22 data-success="Embed code HTML copied to clipboard." class=""> #3 Perfecto!!! Upvote 0 Downvote