Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.