I edited includes/functions.php to include
Code: Select all
U_ABOUT' => append_sid("{$phpbb_root_path}aboutus.$phpEx"),
The page displays properly.
I added this to the navbar_header.html below the <!-- IF U_SITE_HOME --> and <!-- IF not S_IS_BOT and (S_DISPLAY_MEMBERLIST or U_TEAM) --> conditions.
Code: Select all
<!-- IF U_ABOUT -->
<li class="tab about">
<a class="nav-link" href="{U_ABOUT}" data-navbar-reference="about">About Us</a>
</li>
<!-- ENDIF -->
The navbar shows the link as I expected.
When I go to my new "About US" page, the navbar keeps the "Forums" link highlighted.
Forums page:
Memberlist page:
About Us page:
I noticed this line in the memberlist.php file:
Code: Select all
$template->assign_var('S_IN_MEMBERLIST', true);
I am assuming this is somehow related to what I need to do to highlight "About Us" when that page is active, but I am stuck.
Any help is greatly appreciated.