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.
When I define a block to display my gallery, inside the block I can access $block->title which is set to "Photo Gallery" and displays fine (this is in block--media-gallery.tpl.php template file).
However, when the debugger enter into the node--media-gallery.tpl.php file to display the node which is inside the block, the $title variable is empty.
(I will test the dev version, actually I tested this on the beta3 and i saw there was some bugfixes by now).
Comments
Comment #1
Sylvain Lecoy CreditAttribution: Sylvain Lecoy commentedI found the title in $node->title. but $title is still empty i'm not sure this is a media gallery related bug, maybe Drupal itself.
Comment #2
lsolesen CreditAttribution: lsolesen commentedPlease try beta 7 and reopen, if it is still an issue?