Remove Board Index from Navbar

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

Remove Board Index from Navbar

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

On many boards, index performs the same function as home. To remove index from the NAS bar, open the navbar_header.html file and locate the code below (about line 185):

Code: Select all

			<!-- EVENT overall_header_breadcrumb_prepend -->
				<span class="crumb" {$MICRODATA}><a href="{U_INDEX}" itemprop="url" accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw"></i><!-- ENDIF --><span itemprop="title">{L_INDEX}</span></a></span>
Replace with the following code:

Code: Select all

			<!-- EVENT overall_header_breadcrumb_prepend -->
				<!-- Commented out Board Index here
				<span class="crumb" {$MICRODATA}><a href="{U_INDEX}" itemprop="url" accesskey="h" data-navbar-reference="index"><!-- IF not U_SITE_HOME --><i class="icon fa-home fa-fw"></i><!-- ENDIF --><span itemprop="title">{L_INDEX}</span></a></span>
				-->
After you make the change, log into ACP (Admin Control Panel) and purge the cache so your changes take effect.

Post Reply