Hide menu-items in other menu-modules then the Joomla menu-module
Some menu modules ignore the Joomla menu library and do their own thing. To make those work with the access as set in Access-Manager you will have to alter some code. Read here how.
If you got a menu module which does not work with Access-Managers' access settings, please feel free to contact us and we will make your menu work with Access-Manager free of charge.
T3 framework
T3 framework menu layout issue
When Access-Manager is enabled the horizontal top menu looses its style and becomes a unstyled unordered list.
To fix the style:
- go to the module manager
- find the menu module on position 'mainnav'
- set module property 'Menu Class Suffix' to ' nav' (space and 'nav')
- save the module settings
Xmap
Xmap does not use the Joomla menu library to get the menu-items, but uses its own helper file for that. Unfortunately Access-Manager can not override that file. So to make Xmap work with the menu-item-rights from Access-Manager alter this code.
file: components/com_xmap/helpers/xmap.php
line: 52
$query->where('n.access IN (' . implode(',', (array) $user->authorisedLevels()) . ')');
change to
//$query->where('n.access IN (' . implode(',', (array) $user->authorisedLevels()) . ')');$accessmanagerAccessChecker = new accessmanagerAccessChecker(); $where_menuitems = $accessmanagerAccessChecker->where_menuitems(); $query->where('n.id '.$where_menuitems.' ');