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)
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.
> ZIP file folder structure?
It's a part of yiiext. That's why it uses such a namespace.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.