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.
In the views slideshow template we only check for isset($top_widget_rendered)
, which is always going to be set because of line 81 in views_slideshow.theme.inc.
It should check for !empty rather than isset, to avoid the surrounding div to be rendered.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1031176-views_slideshow-empty-check.patch | 1.49 KB | snufkin |
Comments
Comment #1
snufkin CreditAttribution: snufkin commentedPatch does just that.
Comment #2
Bevan CreditAttribution: Bevan commentedI confirmed this fixes the bug, and also that it applies to the 6.x version.
I found #844800: IE background (?) display problem which was probably actually duplicate of this.
Comment #3
redndahead CreditAttribution: redndahead commentedCommitted.
Comment #4
Bevan CreditAttribution: Bevan commentedThanks! :)
Did you apply to the 7.x version only? Or 6.x too?
Comment #5
redndahead CreditAttribution: redndahead commentedboth
Comment #6
Bevan CreditAttribution: Bevan commentedThanks!