Remove Board Index from Footer

Post Reply
Steve
Posts: 62
Joined: Sun Oct 01, 2017 3:08 pm

Remove Board Index from Footer

Post by Steve » Tue Jan 30, 2018 11:37 am

On many boards, index performs the same function as home. To remove Index from the footer, open the navbar_footer.html file and locate the code below (about line 15):

Code: Select all

			<!-- EVENT overall_footer_breadcrumb_prepend -->
			{% spaceless %}
			<span class="crumb">
				<a href="{U_INDEX}" data-navbar-reference="index">
					<!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw" aria-hidden="true"></i><!-- ENDIF --><span>{L_INDEX}</span>
				</a>
			</span>
			{% endspaceless %}
			<!-- EVENT overall_footer_breadcrumb_append -->
Replace with the following code:

Code: Select all

			<!-- EVENT overall_footer_breadcrumb_prepend -->
			<!-- Commented out Board Index here
			{% spaceless %}
			<span class="crumb">
				<a href="{U_INDEX}" data-navbar-reference="index">
					<!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw" aria-hidden="true"></i><!-- ENDIF --><span>{L_INDEX}</span>
				</a>
			</span>
			{% endspaceless %}
			-->
			<!-- EVENT overall_footer_breadcrumb_append -->
After you make the change, log into ACP (Admin Control Panel) and purge the cache so your changes take effect.

Post Reply