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.
Is there any way to print node title in region template? Now it's possible only in node.tpl.php, but I want to print title outside of node, maybe in preface region.
In Drupal 6 it was piece of cake, load node object with menu_get_object() and then simply print $node->title.
I'm pulling my hair out to do this in Drupal 7. How can it be done in Omega?
Comments
Comment #1
vdchristelle CreditAttribution: vdchristelle commentedhttp://drupal.org/node/1326142
Comment #2
Cellar Door CreditAttribution: Cellar Door commentedTBH - I use Delta and it's Delta blocks and there's no need to get into any of the .tpl files. With it, you just use your regular method of placing blocks and you've got all the control you want. Mixed with context you can even change title location based on the various contexts, very powerful!