• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Get rid of an App's Tab

#1
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
 
#2
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,
);
 

Chris D

XenForo developer
Staff member
#3
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.