Hi!
When using zii.widgets.CMenu it has to be placed inside a div with the id = mainmenu.
The id cant be anything else.(I have seen that in the blog-tuturial).
But it don’t say anywhere that it have to be inside a div with that id. How should anyone know that?
the code:
<div id="mainmenu">
<?php $this->widget(‘zii.widgets.CMenu’,array(
'items'=>array(
array('label'=>'Mylabel1', 'url'=>array('/showall1/index')),
array('label'=>'Mylabel2', 'url'=>array('/showall2/index')),
),
)); ?>
</div>
hope you can help me. Thank you.