ontarget
Active Member
Hi I am trying to create a slideshow from a list.
The element I wish to use for the images is a dropdown field which renders as an image.
So if a user selects option1 then the image option1.png shows up
It renders perfectly in list view however when I try to show the image in the slide show joomla error reporting shows:
Fatal error: Call to undefined method PlgFabrik_ElementDropdown::getStorage() in /home/xxxx/public_html/newsite/plugins/fabrik_visualization/slideshow/models/slideshow.php on line 235
Line 235 is:
else
{
233 $tmp = json_decode($pic->$slideshow_viz_file);
234 $k = $tmp == false ? $pic->$slideshow_viz_file : $tmp[0];
235 $pic_opts['href'] = $slideElement->getStorage()->getFileUrl($k, 0);
$this->addThumbOpts($pic_opts);
if (!empty($k))
{
$js_opts->$k = $pic_opts;
}
}
I have tried chaning the dropdown element plugin from TEXT to LONGBLOB to see if that will render the image but still the same error - does anyone know how to fix this?
The element I wish to use for the images is a dropdown field which renders as an image.
So if a user selects option1 then the image option1.png shows up
It renders perfectly in list view however when I try to show the image in the slide show joomla error reporting shows:
Fatal error: Call to undefined method PlgFabrik_ElementDropdown::getStorage() in /home/xxxx/public_html/newsite/plugins/fabrik_visualization/slideshow/models/slideshow.php on line 235
Line 235 is:
else
{
233 $tmp = json_decode($pic->$slideshow_viz_file);
234 $k = $tmp == false ? $pic->$slideshow_viz_file : $tmp[0];
235 $pic_opts['href'] = $slideElement->getStorage()->getFileUrl($k, 0);
$this->addThumbOpts($pic_opts);
if (!empty($k))
{
$js_opts->$k = $pic_opts;
}
}
I have tried chaning the dropdown element plugin from TEXT to LONGBLOB to see if that will render the image but still the same error - does anyone know how to fix this?