Cancel that -
All fixed now. Not sure how I did it, but it appears to be working... must've set the correct thing somewhere ha ha.
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;
// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array( 'admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'Forum', 'tpadmin')))
$current_action = $context['current_action'];
if (isset($_GET['dl']))
$current_action = 'dlmanager';
if (isset($_GET['board']) || isset($_GET['topic']) || $context['current_action']=='forum')
$current_action = 'forum';
if ($context['current_action']=='tpadmin')
$current_action = 'admin';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';
//Dan additions for adding menu items as current actions (TP)
//if ($context['current_action']=='')
//$current_action = 'home';
if ($context['current_action']=='calendar')
$current_action = 'calendar';
if ($context['current_action']=='pm')
$current_action = 'pm';
if ($context['current_action']=='profile')
$current_action = 'profile';
if (isset($_REQUEST['page']) && $_REQUEST['page'] == 2)
$current_action = 'aboutus';
if (isset($_REQUEST['page']) && $_REQUEST['page'] == 3)
$current_action = 'history';
if (isset($_REQUEST['page']) && $_REQUEST['page'] == 4)
$current_action = 'events';
if (isset($_REQUEST['page']) && $_REQUEST['page'] == 5)
$current_action = 'gallery';
if (isset($_REQUEST['cat']) && $_REQUEST['cat'] == 8)
$current_action = 'home';