Hi,
1. First, fatal error during install :
Fatal Error: Cannot 'break' 2 levels - library/WidgetFramework/Helper/Index.php:90
and here is the concerned part of the code :
2. I removed this code, and suceeded to install Documents, but nothing is displayed in admin or public pages.
Thanks !
1. First, fatal error during install :
Fatal Error: Cannot 'break' 2 levels - library/WidgetFramework/Helper/Index.php:90
and here is the concerned part of the code :
Code:
public static function setNavtabSelected(array &$tabs, array &$extraTabs)
{
$selected = false;
if (!empty($tabs['forums']))
{
// found "Forums" navtab, select it now
$tabs['forums']['selected'] = true;
$selected = true;
}
else
{
// try to select the first one from $tabs
foreach ($tabs as &$tab)
{
$tab['selected'] = true;
$selected = true;
break;
}
if (!$selected)
{
// still not selected!?
// try with $extraTabs now
foreach ($extraTabs as &$tabs)
{
$tab['selected'] = true;
$selected = true;
break 2;
}
}
}
return $selected;
}
2. I removed this code, and suceeded to install Documents, but nothing is displayed in admin or public pages.
Thanks !