CMenu url item to root

Hi all,

I would like to know how to add an CMenu item that links to /

Right now, if I put




    <?php $this->widget('zii.widgets.CMenu',array(

      'id'=>'main_nav',

      'items'=>array(

        array('label'=>'Home', 'url'=>array('/'), 'active' => (($this->id=='site') && ($this->action->id=='index'))),



The / links it to the current page I’m at and not the actual root.

Please help.

Thanks

I can find any intelligent solution.

The best advice I have is:




'url'=>Yii::app()->baseUrl



This at least work correctly

Thanks,

I end up just doing ‘url’=>’/’ , that worked!