xflexslider A widget wrapper for excellent JQuery FlexSlider plugin

  1. Update
  2. Overview
  3. Requirements
  4. Install
  5. Usage
  6. Resources


Ver 2.1.1

  • fix js_thumb - not defined - tinny

Ver 2.1

  • support Thumbnail ControlNav Pattern - thanks to @got 2 doodle
  • support Carousel Slider as Navigation

Ver 2.0 -- upgrade flexslider to ver 2.0;

    -- code changes as per suggestion by clem & extj, thx;


Looking around for a good slider widget, ends up with FlexSlider. Here is quote from the site:

Flexslider An awesome, fully responsive jQuery slider plugin.

XFlexSlider is a wrapper widget which allow Yii-er to have nice slider with easy. It supports sliding image - local or remote, html content from view, take a look you won't be disappointed.


  • Tested in Yii-1.1.10
  • JQuery core script


unzip content xflexslider.zip to /protected/extensions/

it also comes with a full yii scaffold site with xflexslider demo on homepage.


in your view file

		//use content
		'slide1' => array(
            'caption'=>'Captions and cupcakes. Winning combination.',
			'content'=>'<img src="' . Yii::app()->request->baseUrl . '/images/demo-stuff/inacup_samoa.jpg" />',
		//use view
            'caption'=>'This image is wrapped in a link!',
	//	'animation' => "'slide'",
	//	'slideDirection' => 'vertical',
		'mousewheel' => true,


demo from original plugin (removed)

4 0
3 957 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: rootbear
Created on: Apr 23, 2012
Last updated: 10 years ago


show all

Related Extensions