bookit
Forum Replies Created
-
Forum: Plugins
In reply to: [Slider Pro] Problem with slider if it only contains few imagesMarking this as solved
Forum: Plugins
In reply to: [Slider Pro] Problem with slider if it only contains few imagesThank you David,
Please note that we will use allow_cache = true on live site, so I think we can close this issue unless you think this is something we should solve,
Thanks
LarsForum: Plugins
In reply to: [Slider Pro] Problem with slider if it only contains few imagesHi David,
Sorry, it’s because I forgot to change allow_cache back to false.
Please try again now,Thanks
LarsForum: Plugins
In reply to: [Slider Pro] Problem with slider if it only contains few imagesHi David.
Thank you, disabling loop for posts with few images solved that problem ??
For the name, I’ve updated my code and using the following – but I still get the same error:
// Show slider
echo ‘‘;
$slider = ‘[sliderpro id=”‘ . $postid . ‘” name=”Slider ‘ . $postid . ‘” width=”600″ height=”400″ visible_size=”2600″ arrows=”true” autoPlay=”false” auto_thumbnail_images=”‘ . $use_thumbnails . ‘” lazy_loading=”true” loop=”‘ . $use_loop . ‘” center_selected_slide=”false” allow_cache=”false”]’;foreach($image_ids as $image_id) {
$slider .= ‘[sliderpro_slide] [sliderpro_slide_element name=”main_image_source”]’ . $image_id . ‘[/sliderpro_slide_element][sliderpro_slide_element name=”slider”]’ . $postlink. ‘[/sliderpro_slide_element][/sliderpro_slide]’;
}I don’t get any error if I change allow_cache to true,
Thanks
LarsForum: Plugins
In reply to: [Slider Pro] Problem with slider if it only contains few imagesHi David,
I’ve temporarily the page available here:
https://www.staging5.innovabygg.no/nybygg/The error you see “Warning: Undefined array key “name” in” above each slider seems to only appear when I’ve set allow_cache=”false” (this is temporarily set to false due to the testing, but maybe you know what’s wrong here as well?)
Thank you
Lars- This reply was modified 1 year, 7 months ago by bookit.
Forum: Plugins
In reply to: [Slider Pro] Problem with slider if it only contains few imagesHi David,
Thank you for your reply. As a test, I changed lazy_loading to false for all sliders (and cleared cache etc), but it was still same problem with this slider that only contains 3 images.
So I don’t understand what’s causing this problem. Is the last image in a slider always hidden somehow?
Thank you
Lars