exbreadcrumbs Extended breadcrumbs widget

  1. Requirements
  2. Installation
  3. Usage
  4. Changes
  5. Resources


This extension is a wrapper for the XBreadcrumb JQuery plugin. It is compatible with the core CBreadcrumbs widget, so no change is needed if you want to turn your old breadcrumbs into super cool extended ones.

Check out the demo !


tested with Yii 1.1.3 (but I see no reason why it would not work for previous Yii versions)


  1. Download and unzip the archive into your protected/extension folder
  2. ...there is nothing else to do !


To turn your default breadcrumbs into super cool extended breadcrumbs, just replace the reference to 'zii.widgets.CBreadcrumbs' by 'application.extensions.exbreadcrumbs.ExBreadcrumbs', which should be located in your main layout (protected/views/layout/main.php).

	$this->widget('application.extensions.exbreadcrumbs.EXBreadcrumbs', array(

But (hopefully) there's more :

  • add a dropdown menu to all (or some) breadcrumbs
  • make your breadcrumbs 'collapsible'
  • define your own custom style

Below is an example where the crumb1 has a dropdown menu containing 2 links. The link associated with crumb2 is defined as a classical Yii url array and at last, the yii crumb url is a simple string.

$this->widget('application.extensions.exbreadcrumbs.EXBreadcrumbs', array(
        'crumb1' => array('controller/route1','param1'=>'value1',
                'menu1'=> array('controller/routeMenu1','paramM1' => 'valueM1'),
                'menu2'=> array('controller/routeMenu2','paramM2' => 'valueM2'),
        'crumb2' => array('controller/route2','param2'=>'value2'),
        'yii' => 'http://www.yiiframework.com/',



  • change Client script registration to be compatible with previous Yii version (trejder)


  • initial release


20 0
1 948 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: Raoul
Created on: Oct 15, 2011
Last updated: 9 years ago


show all

Related Extensions