Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrkmg/yii-ext-cssmenu
A CSS only multi-level menu extension for the Yii Framework
https://github.com/mrkmg/yii-ext-cssmenu
Last synced: 16 days ago
JSON representation
A CSS only multi-level menu extension for the Yii Framework
- Host: GitHub
- URL: https://github.com/mrkmg/yii-ext-cssmenu
- Owner: mrkmg
- Created: 2011-12-02T15:36:21.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-18T13:57:24.000Z (about 11 years ago)
- Last Synced: 2024-10-04T09:59:04.084Z (about 1 month ago)
- Language: CSS
- Homepage: http://kevingravier.com/yii
- Size: 93.8 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Css Menu extenstion For Yii 1.1
Copyright Kevin Gravier 2011.
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.** How to Install **
Copy the folder 'cssmenu' to the extenstions folder in your Yii Installation
** How to Use **
Place the following where you would like the menu to appear. Css Menu conforms to the standard for
menus as defined by CMenu in Yii Version 1.1*
http://www.yiiframework.com/doc/api/1.1/CMenu
$this->widget('ext.cssmenu.CssMenu',array(
'items'=>array(
array('label'=>'Home', 'url'=>array('site/index')),
array('label'=>'Products', 'url'=>array('product/index'), 'items'=>array(
array('label'=>'New Arrivals', 'url'=>array('product/new')),
array('label'=>'Most Popular', 'url'=>array('product/index')),
)),
array('label'=>'Login', 'url'=>array('site/login'), 'visible'=>Yii::app()->user->isGuest),
),
)); ?>*the "tag" option was not included.