mbmenu

can we pass a session variable in mbmenu array??




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

			'items'=>array(

				array('label'=>'Home', 'url'=>array('/home')),

                array('label'=>'School', 'url'=>array('/school'),

				'items'=>array( 										 

					array('label'=>'Edit School Details'),

.........




this is my menu with dropdown list…in this i want a session variable to be pased as url

you should post it under extensions topic or as a comment in the extension’s page

as for the question, I think just give it the url in the normal way would work

like




'items'=>array(

       		array('label'=>'Home', 'url'=>array('/home',array('session_id'=>$_SESSION['id']))),



ooh sory that i posted in a wrong place…

Np, Its just to keep to forum organized so its easier to find what you are looking for

  • moved to Extensions