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

Chris Charlton’s picture

Issue summary: View changes

Check out the function media_gallery_theme() in media_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.

...
'media_gallery_media_item_thumbnail' => array(
      'render element' => 'element',
      'file' => 'media_gallery.theme.inc',
      'template' => 'media-gallery-media-item-thumbnail', // THIS IS A TEMPLATE YOU CAN USE
    ),
...

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.

ivnish’s picture

Status: Active » Closed (outdated)