Yii 1.1: iconizedmenu

Allows you to create a menu with the corresponding favicon on the left of each item.
7 followers

Note: Latest release is available from extension github page.

Allows you to create a menu with the corresponding favicon on the left of each item.

<?$this->widget('ext.yiiext.widgets.iconizedMenu.EIconizedMenu',array(
    // Turns off Yandex sprites usage and allows to use custom iconizerBaseUrl
    // 'useSprites' => false,
    'items'=>array(
        array('label'=>'Yii Framework', 'url'=> 'http://yiiframework.com/'),
        array('label'=>'RMCreative', 'url'=> 'http://rmcreative.ru/'),
        array('label'=>'Twitter', 'url'=> 'http://twitter.com/'),
    ),
))?>

Changelog

1.2

  • Inlined CSS (samdark)

1.1

  • Yandex sprites support, enabled by default (samdark)

1.0

  • Initial release (samdark)

Total 2 comments

#2514 report it
samdark at 2011/01/12 06:08pm
> ZIP file folder structure?

It's a part of yiiext. That's why it uses such a namespace.

#2140 report it
Trejder at 2010/11/17 06:03am
ZIP file folder structure?

Well, AFAIK most people advice to put each extension to a separate folder and this folder - directly under protected/extensions folder.

You put your extension (in provided ZIP file) into... \yiiext\widgets\iconizedMenu\yiiext\widgets\iconizedMenu! :) Not only, this is quite deep but also provided example code above won't work as its dot-path does not correspond to what user gets, when unpack ZIP file.

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet