Hi, i have an group on the admin with no acces to the CP, but they see the “BurnEngine” menu on the left. How can i hide it?
|
|
Hi,
The only way to hide BE admin panel is to add some CSS to admin stylesheet:
#tb_menu_burnengine {
display: none;
}
BR,
ThemeBurn team
|
|
But this will be for all users. I wanna only for one group. There is an way for do this?
|
|
Hi,
Here is a second way with a server side check:
1) Open system/modification/admin/view/template/common/menu.tpl
2) Find this code line:
<?php class_exists('TB_Engine') && TB_Engine::hasInstance() && print TB_Engine::instance()->getThemeData()->get('oc_admin_menu'); ?>
3) Wrap it with this check:
<?php global $registry; $userac = $registry->get('user'); if($userac->hasPermission('access','module/BurnEngine')
|| $userac->hasPermission('access','theme/BurnEngine')
|| $userac->hasPermission('access','extension/theme/BurnEngine')): ?>
CODE FROM STEP 2
<?php endif; ?>
P.S. Unfortunately, this change will be removed on every modification refresh.
BR,
ThemeBurn team
|
|