disable the link "Dashboard" on site

Questions and answers about change of functions, design, hosting etc.

Moderators: Koduc, Xpycm

Forum rules
Pay attention! Forum is not a means for guaranteed support of clients and users. An answer as well as a quick answer is not supposed on the forum. We post messages as soon as possible.

The message limit on the forum is 3 messages per day.
If you want to say "thank you" then use the function "Give good reputation point", which is a green icon "plus" under the nickname of the person, who answered the message.

disable the link "Dashboard" on site

Postby jens » 06 Sep 2017, 19:45

hello,

is it possible to disable / hide the link "Dashboard"?

jens
jens
Stranger
 
Posts: 3
Joined: 06 Sep 2017, 19:43
Reputation point: 0

Re: disable the link "Dashboard" on site

Postby jens » 06 Sep 2017, 20:19

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'
),
);
*/
jens
Stranger
 
Posts: 3
Joined: 06 Sep 2017, 19:43
Reputation point: 0

Re: disable the link "Dashboard" on site

Postby Xpycm » 06 Sep 2017, 21:49

Dropbox
Open Real Estate CMS: FAQ | FAQ 2 | FAQ 3
Image
Xpycm
Web Developer
Web Developer
 
Posts: 281
Joined: 30 Dec 2011, 11:06
Reputation point: 2


Return to Questions and help for changes

Who is online

Users browsing this forum: No registered users and 10 guests

cron