Cupara
Well-known member
For what I need to do I discovered that I would need to use:
Would it be possible to do an array merge with the $tabs array:
Cheers
PHP:
XenForo_CodeEvent::fire('navigation_tabs', array(&$extraTabs, $selectedTabId));
Would it be possible to do an array merge with the $tabs array:
PHP:
$tabs = array();
foreach ($showTabs AS $tabId => $show)
{
if (!$show)
{
continue;
}
switch ($tabId)
{
case 'lorem':
$tab = array(
'title' => new XenForo_Phrase('xportal'),
'href' => XenForo_Link::buildPublicLink('full:xportal')
);
Cheers