1. Christoffer Niska
  2. yii-bootstrap
  3. Issues
Issue #111 duplicate

normalize brand URL

Anonymous created an issue

currently, when setting a url to brandUrl, one has to give a complete url (eg: Yii::app()->createUrl('xxx/yyy'). Nevertheless, brandUrl should always be an url.

BootNavBar.php widget should be updated accordingly. Line 71 change: {{{ $this->brandOptions['href'] = $this->brandUrl; }}} by: {{{ $this->randOptions['href'] = CHtml::normalizeUrl($this->brandUrl); }}}


Comments (2)

  1. Log in to comment