Yii Framework Forum: Yiistrap Item Template Problem - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yiistrap Item Template Problem Rate Topic: ***** 1 Votes

#1 User is offline   Tiberiu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 01-September 13

Posted 12 January 2014 - 01:51 PM

array(
                    'class' => 'bootstrap.widgets.TbNav',
                    'htmlOptions' => array('class' => 'pull-right'),
                    'items' => array(
                        array('label' => Yii::t('app', 'Sign Up'), 'url' => array('/user/registration'), 'visible' => Yii::app()->user->isGuest),
                        array('label' => Yii::t('app', 'Log In'), 'url' => '#', 'visible' => Yii::app()->user->isGuest,
                            'items' => array(
                                array(
                                    'url' => '#',
                                    'template' => $this->renderPartial('application.modules.user.components/views/_menuloginform', array('model' => new UserLogin), true),
                                ),
                            ),
                        ),
        ),
)

This array is items from TbNavbar widget.
With YiiBooster works great, but Yiistrap do not work.
Please, tell me where is the problem or another solutions for display form in dropdown.
Thanks!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users