Hi folks,
This is my first time using a widget and I am having a couple problems with this.
I have installed the OrbitImage files in the extension folder entered this code directly into my layout…
$this->widget(‘application.extensions.OrbitSlider.OrbitSlider’,
array(
‘images’=>array(
array(
‘img’=>‘images/banner/banner_1.png’,
‘url’=>‘url’,
),
array(
‘img’=>‘images/banner/banner_2.png’,
‘url’=>‘url2’,
),
array(
‘img’=>‘images/banner/banner_3.png’,
‘url’=>‘url3’,
),
),
‘slider_options’=>array(
‘width’=>‘1000’,
‘height’=>‘330’,
‘animation’=>‘horizontal-slide’,
‘bullets’=>true,
),
)
);
However, when I do, all that happens is the <body> colour turns from white to yellow (RGB 250, 250, 0) and no images are loaded into the slider (although the page layout does adjust to make room for it).
Can I ask why this is happening? It should be noted that I have also attempted to populate the ‘img’=>’’ with tested image paths (c:\xampp\htdocs\project\images\1.jpg etc) and still no joy.
Could someone please help me with this?