ARTICLES > Web Programming

[SMF] Remove Help button from menu bar Turn Back

2019-03-12 17:21:06

 

Open file path:

../Themes/Theme_name/index.template.php

find the line of function templete_menu(){ and look at the looping (foreach statement)

foreach ($context['menu_buttons'] as $act => $button) {...

 

Insert IF condition before echo '<li...

 

if(strtolower($act) != "help"){

   echo '<li....

}

Turn Back