Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm just beginning to learn D7.
With D6 you could just rename the node or page template files with the correct Content Type and edit theme the page you want.
However, that doesn't appear to be the cast with this module?
I need to have the node created date, user and taxonomy printed. I don't see a node.tpl anywhere in the files and creating one doesn't seem to override it.
Maybe I'm missing something.
Comments
Comment #1
Chris CharltonCheck out the function
media_gallery_theme()
inmedia_gallery.module
, and you'll see template entries with the attribute "template" (this is the same for any Drupal module). But, there are other templates not listed in that function that work for the module, and that's just stuff you learn when getting used to theme overrides in Drupal.As pointed out in the code block above, there's a template entry for media gallery thumbnails, and that file would be
media-gallery-media-item-thumbnail.tpl.php
.An additional template I know works for this module is:
media-gallery-media-item-detail.tpl.php
, which is for the gallery media detail page.Comment #2
ivnish CreditAttribution: ivnish commented