disable the link "Dashboard" on site
Posted:
06 Sep 2017, 19:45
by jens
hello,
is it possible to disable / hide the link "Dashboard"?
jens
Re: disable the link "Dashboard" on site
Posted:
06 Sep 2017, 20:19
by jens
found the solution
i comment out this in file protected/components/Controller.php
/* $this->aData['userCpanelItems'][] = array(
'label' => Yii::t('common', 'Control panel'),
'url' => array('/usercpanel/main/index'),
'visible' => Yii::app()->user->checkAccess('backend_access') === false,
'items' => $subItems,
'itemOptions' => array('class' => 'depth_zero'),
'submenuOptions'=>array(
'class'=>'sub_menu_dropdown'
),
);
*/