Create a gallery and select the publishing option "promoted to front page". Go to the front page and see a gallery teaser. View the HTML source and count the total number of opening DIV tags and the total number of closing DIV tags. They don't match.

As a result, when you make a View of gallery teasers, and display that view as a block in a sidebar, then on some themes, all your main page content moves into the sidebar as well.

CommentFileSizeAuthor
#1 media_gallery-teaser.patch1.44 KBeffulgentsia
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

effulgentsia’s picture

Status: Active » Needs review
FileSize
1.44 KB

Here's the fix, which makes sense on its own, but as a separate issue, it surfaces that $node->term isn't set in most contexts (only on the "galleries" page), so we may want to revisit that if statement to check for a different variable.

David_Rothstein’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.