Breadcrumbs in module

Hi Yii’ers,

I want to use the breadcrumb widget for a module that I created but is showing blank. I tried first by placing it in main.php and then in one of the module views but still the same problem.

I wonder if I have to make some changes to the link or something? Please help.

Make sure that you set the property ‘links’ with a valid array, like:




$this->widget('zii.widgets.CBreadcrumbs', array(

	'links'=>$breadcrumbs,

)); 



Where $breadcrums is something like:




$breadcrumbs=array(

	'Index'=>array('index'),

	'Create',

);