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

Sylvain Lecoy’s picture

I 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.

lsolesen’s picture

Status: Active » Fixed

Please try beta 7 and reopen, if it is still an issue?

Status: Fixed » Closed (fixed)

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