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 ?
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 ?
As we know Using crud generator creates menu items in view files (for each view file have a varius menu items)
Everyone have seen a multilayer menu in several CMS
CMenu comes with a lot of great customization options built in but sometimes you need it to do more.
Yii makes it really easy for all to use their already made objects that automate everything we do. It provides also great power of flexibility and styling but hey, we programmers tend to complicate our lives and push a little more the power of our tools.
Note: Please also take a look at the newer EMenu extension. This works even better that the deprecated CDropDownMenu!