Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi!
If I have only one slide on my page, the control-widget is displayed but has no link / caption / title in it. The particular part in HTML is still empty. The option in my slide-settings does not have any effect on my slideshow.
But following code change let my title reappear:
views_slideshow/theme/views_slideshow.theme.inc
//Change line 238 from
if (empty($vars['settings']['hide_on_single_slide']) && count($vars['view']->result) > 1) {
//to
if (empty($vars['settings']['hide_on_single_slide']) && count($vars['view']->result) > 0) {
I did not have a deeper look into the code but I hope this will not destroy anything. All slides now work very fine.
Regards,
Antares7
Comments
Comment #1
NickDickinsonWilde