This is an excellent alternative to CMenu widget. Very useful when we need to create Toolbars and/or Buttonsets.
Extract zip file in protected/extensions directory. An use like a CMenu widget.
$this->widget('ext.JuiButtonSet.JuiButtonSet', array( 'items' => array( array( 'label'=>'Menu button 1', 'icon-position'=>'left', 'url'=>array('create') //urls like 'create', 'update' & 'delete' generates an icon beside the button ), array( 'label'=>'Menu button 2', 'icon-position'=>'top', 'icon'=>'folder-open', // This a CSS class starting with ".ui-icon-" 'url'=>array('action2') ), ), 'htmlOptions' => array('style' => 'clear: both;'), ));
...external resources for this extension...
Total 2 comments
Looks very nice at first sight, but in my opinion needs some fix-ups. I've places list of propositions in extension's official forum topic.
Your opinions, improvements and suggestions are welcome.
Leave a comment
Please login to leave your comment.