Yii 1.1: ac-breadcrumbs-microdata

Breadcrumbs widget using microdata format
3 followers

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?>

Be the first person to leave a comment

Please to leave your comment.

Create extension