mbmenu css problem

Hi!

I’m having troubles with mbmenu extension.

For some reason, it seems that every time i change the mbmenu.css, nothing changes in the layout of the menu…

I even erased the content of "source" directory but it does nothing!!!

here is the link to the extension:

http://www.yiiframework.com/extension/mbmenu/

Thanks in advance

Rename your div’s id (mainmenu) to something else:

<div id="mymenu">…</div>

:)

No good…i even checked if i was using the the div class “mainmenu” and i wasn’t…

i even tried to use it in index.php view and it still doesn’t change the aspect of the menu…




<?php $this->pageTitle=Yii::app()->name; ?>

	<?php 

			$this->widget('application.extensions.mbmenu.MbMenu',array(

	            'items'=>array(

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

	                array('label'=>'Sign in',

	                	'visible'=>Yii::app()->user->isGuest,

	                	'items'=>array(

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

	                					array('label'=>'Register', 'url'=>array('/unregisteredUser/create')),

	                					array('label'=>'Forgot the password/username', 'url'=>array('/user/retrievecredentials')),

	                					array('label'=>'Send the activation code', 'url'=>array('/unregisteredUser/sendactivationemail'))

	                				), 

	                	),

	                array('label'=>'Profile', 'visible'=>!Yii::app()->user->isGuest, 'url'=>array('/user/view', 'id'=>Yii::app()->user->id_user)),

	                array('label'=>'Logout ('.Yii::app()->user->id.')',

	                	'visible'=>!Yii::app()->user->isGuest,

	                	'url'=>array('/site/logout'),

	                ),

	            ),

	    	)); 

	    ?>

<br/>

<br/>

<br/>


<h1>Welcome to <i><?php echo CHtml::encode(Yii::app()->name); ?></i></h1>


<p>Congratulations! You have successfully created your Yii application.</p>


<p>You may change the content of this page by modifying the following two files:</p>

<ul>

	<li>View file: <tt><?php echo __FILE__; ?></tt></li>

	<li>Layout file: <tt><?php echo $this->getLayoutFile('main'); ?></tt></li>

</ul>


<p>For more details on how to further develop this application, please read

the <a href="http://www.yiiframework.com/doc/">documentation</a>.

Feel free to ask in the <a href="http://www.yiiframework.com/forum/">forum</a>,

should you have any questions.</p>



Hmm, if that doesn’t work perhaps it’s a cache problem.

Try deleting the contents of your ‘assets’ folder and refresh.