Wiki

Articles tagged with "items"X
Displaying 1-4 of 4 result(s).

Yii 1.1: How To add id or class to CMenu items ?

Created 5 months ago by Louis GacHow-tos0 comments – viewed 3,195 times – ( +2 ) – version 1.1
CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ?

Set a menu - reusable code

Created about a year ago by KonApazTips0 comments – viewed 4,158 times – ( +1 )
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)

Create a custom menu using CMenu data-items (flat or tree structure)

Created about a year ago by KonApazHow-tos0 comments – viewed 11,692 times – ( +4 )
There are cases that you want more control to your menu Suppose you want a specific menu with complex css, layout, images. also you want to add extra content,html,css,javascript etc it run time foreach submenu item by conditions.

CGridView: Adding behaviors from configuration, and template items from behaviors to CGridView

Created about a year ago by le_topTips0 comments – viewed 6,843 times – ( +5 ) – version 1.1
Changing the way a CGridView is rendered from the configuration file, or through behaviors specified at the moment it is used, is handy to extend a CGridView without creating tons of different classes for it. I am surprised that this is not in the default implementation, so I made my default CGridView implementation.