Get rid of an App's Tab

B~Napier

Member
So an app has a Tab that is automatically there - I don't want it there... I could delete the "extratab" code but that could screw me over in the longrun. Where would I remove the tab this app created?

http://www.ceintegrator.com < want to remove the "Knowledge Base" tab
 
LoL well I figured it out two minutes later... for Wiki you need to edit

EWRCarta > Listener > Navtabs.php

Remove:

Code:
$extraTabs['wiki'] = array(
'title' => new XenForo_Phrase('wiki'),
'href' => XenForo_Link::buildPublicLink('full:wiki'),
'position' => 'middle',
'linksTemplate' => 'EWRcarta_Navtabs',
'perms' => $perms,
'index' => $index,
);
 
Bear in mind that if you ever update XenCarta, the tab will come back.

Another way (though slightly more convoluted) is to enable Debug mode.

You can then access the Development tab in the Admin CP. Then under Code Event Listeners > XenCarta you can disable the nav_tabs listener. This will keep it disabled, and shouldn't be reinstated after updates.

Remember to turn off Debug mode after.
 
Back
Top Bottom