how to change home name breadcrumbs


i searched for changing the home name of the breadcrumbs.

here is a code but it didnt work.

Any Idea?

<?php $this->widget('zii.widgets.CBreadcrumbs', array(


      'homeLink'=>CHtml::link('Panel', Yii::app()->homeUrl), 

      )); ?><!-- breadcrumbs -->

What exactly doesn’t work? The same code works for me:

$this->widget('zii.widgets.CBreadcrumbs', array(

    'homeLink'=>CHtml::link('Start', array('/site/index')),



it doesnt change anything…

The Home Link Text must be "Start" if this code runs…

but its already "Home"…

are there an other code, at any where which affects to this code?

Sorry, its ok…

i found the problem. i inserted the code into correct layout :)

Thank for your help.

is there anyway to totally remove the home link? meaning that don’t want to show the home

yes, there is

This worked for me in the main layout

<?php echo Breadcrumbs::widget([

                'homeLink'=> ['url'=>'/site/index','label'=>'Dashboard'], 

                'links' => isset($this->params['breadcrumbs']) ? $this->params['breadcrumbs'] : [],

            ]) ?>