Yii 1.1: pikachoose

PikaChoose is a JQuery based image slider/gallery plugin
6 followers

PikaChoose is a JQuery based image slider/gallery plugin

Requirements

Yii 1.1.x

Usage

1 - Extract in extensions folder 2 - Call as

$data=array(
      '<img src="">',
      '<a href=""><img src=""></a>',
 
 );
$this->widget('ext.pikachoose.pikachoose', array(
    'data'=>$data,
    'options'=>array(
        'carousel'=>false,
        //other options
    )
));

Resources

http://www.perochak.com Your text to link here...

Total 2 comments

#15316 report it
PeRoChAk at 2013/10/28 09:12am
@karte

Including a anchor, you can do it as simple

'<a href="URL of the page "><img src="url of the image"></a>',

it is as like as you are doing with images with a wrapper of hyperlink.

Update code with

if(isset($this->default['carousel'])){

Thanks

#14914 report it
karte at 2013/09/20 06:09am
Help me out...

First of all thanks for this great extension.. This is my code for $data..

$data=array(
      '<img src="'.Yii::app()->getBaseUrl(true).'/picture/upload/138-308820_455809021132696_788403605_n.jpg">',
 
      '<img src="'.Yii::app()->getBaseUrl(true).'/picture/upload/3140-644187_524939004219697_729257249_n.jpg">',
      '<img src="'.Yii::app()->getBaseUrl(true).'/picture/upload/138-308820_455809021132696_788403605_n.jpg">',
      '<img src="'.Yii::app()->getBaseUrl(true).'/picture/upload/602199_602350699777748_102068258_n.jpg">',
 
 );

but I dont know how to use anchor tag.

'<a href=""><img src=""></a>',

Can you please help me out!!! Another error occurred before this.

In line 46 pikachose.php

if($this->default['carousel']){

It shows error like Illegal string offset 'carousel'. If I remove tat carousel like

if($this->default){

it shows no error...

Leave a comment

Please to leave your comment.

Create extension
Downloads