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.
I get this error message quite frequently:
"Gallerias only display when viewing a node by itself on the page."
It seems to show when i use Views to display node teasers. I can get several of those warning messages depending on how many teaser nodes I'm showing.
Organic Groups uses views to display group node teasers and this is where i see the error messages.
Any information appreciated.
Comments
Comment #1
Mark Theunissen CreditAttribution: Mark Theunissen commentedThe message displays because you are showing a Galleria as a teaser. Gallerias don't work as teasers, only on full nodes. This is because you cannot have more than 1 Galleria at once on a page (a limitation of the original plugin), and so I disabled the rendering for teaser view, because that's when there are liable to be more than one on a page.
In short, don't display Gallerias as teasers.
Comment #2
Mark Theunissen CreditAttribution: Mark Theunissen commented