juibuttonset A nice-looking, jQueryUI themeable Toolbar/ButtonSet widget for customized menus and buttons.

  1. Requirements
  2. Usage
  3. Resources

This is an excellent alternative to CMenu widget. Very useful when we need to create Toolbars and/or Buttonsets.

Requirements

  • Yii 1.1.4 or above

Usage

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;'),
));

Resources

...external resources for this extension...

3 0
5 followers
1 404 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: robregonm
Created on: Nov 11, 2010
Last updated: 11 years ago

Downloads

show all

Related Extensions