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.
What is the 'best practice' way to customize the look and feel of a node_gallery_image page?
I'm trying to display the total image count of the parent gallery on each image page next to the title.
I can use this line of code to print the total -- but curious where the best place to put this is.
<?php print t("Total Images: %total"); ?>
Normally I would just create a tpl.php for the node type, but want to make sure I'm not missing something.
Thanks!
Comments
Comment #1
Prodigy CreditAttribution: Prodigy commentedUpdating post to reflect the best way is to create a template file for your image node type and place elements where ever you like.
Don't forget to remove the $content variable.