Show breadcrumbs using microdata format
Requirements ¶
Tested with Yii 1.1.10 (but I see no reason why it would not work for previous Yii versions)
Usage ¶
Extract into protected/widgets directory (create it, if not exist) Replace 'zii.widgets.CBreadcrumbs' (in your main layout [protected/views/layout/main.php]) with 'application.widgets.ACBreadcrumbsMicrodata'
<?php if(isset($this->breadcrumbs)):?>
<?php $this->widget('application.widgets.ACBreadcrumbsMicrodata', array(
'links'=>$this->breadcrumbs,
)); ?><!-- breadcrumbs -->
<?php endif?>
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.