Setting Active Label On Cmenu Widget

Hello everyone,

I’ve implemented a CMenu widget as follows:-




array('label'=>'Home', 'url'=>array('/site/index')),

array('label'=>'About', 'url'=>array('/site/page', 'view'=>'about')),

array('label'=>'Contact', 'url'=>array('/site/contact')),	

array('label'=>'Login', 'url'=>array('/user/login')),		

array('label'=>'Register', 'url'=>array('/user/registration')),

array('label'=>'Profile', 'url'=>array('/user/profile/')),

array('label'=>'Logout', 'url'=>array('/user/logout')),




On pages where controller ID is Site the menu highlights current page correctly but when any of the ‘user’ pages are visited the current page is not highlighted. Please will you help me to correct this


When cou click on user pages link, the user page shows its content?

Yes when I click on the user pages the page content shows correctly i’m using the Yii user module