- Added navigation.php in application/config to configure menus used by NavigationWidget

- Addded controller system/Navigation to retrive menus via ajax
- Renamed method _setNavigationMenuArray to setNavigationMenuArray and set as public in system/infocenter/InfoCenter
- Now the InfoCenter menu is stored in the session
- The menu is generated by the widget NavigationWidget via JS
- No need anymore to give as parameters to the views the menu arrays
This commit is contained in:
Paolo
2018-03-09 15:14:16 +01:00
parent fee5211c43
commit dd610c83d9
14 changed files with 405 additions and 198 deletions
@@ -8,8 +8,8 @@ class NavigationHeaderWidget extends Widget
/**
*
*/
public function display($data)
public function display($widgetData)
{
$this->view('widgets/navigationHeader', $data);
$this->view('widgets/navigationHeader');
}
}