Issue #261 new

Problem with languages on Phundament

Andrzej Ambroziewicz
created an issue
  1. I suggest to change in files:

    crisu83/yii-bootstrap/widgets/TbBreadcrumbs.php - line 48:

    from:

    $content = CHtml::link(Yii::t('zii', 'Home'), Yii::app()->homeUrl);

    to:

    $content = CHtml::link(Yii::t('zii', 'Home'), $this->controller->createUrl(Yii::app()->homeUrl));

which would help if you have custom urlManager

  1. /vendor/crisu83/yii-bootstrap/widgets/TbNavbar.php - line 79:

form:

$this->brandUrl = Yii::app()->homeUrl;

to:

$this->brandUrl = $this->controller->createUrl(Yii::app()->homeUrl);