It seems like I can only turn off the Author/Date/Time stamp by Content Type, not by template, or publishing type (teaser, short and long versions).

I deally I would like to not show the author/date/time stamp on teasers promoted to the home page, but keep it whn on the node itself. This option does not exist, correct? Likewise there are not options to control this in templates it seems. I can only turn it on or off for a content type.

Has anyone heard of interest in this before? Any UI, usability folks in the house?

Comments

Chill35’s picture

From your theme folder, open the file node.tpl.php in a text editor.

Change this code :

  <?php if ($submitted): ?>
    <span class="submitted"><?php print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created))); ?></span>
  <?php endif; ?>

to this :

<?php if ($page != 0): ?>
  <?php if ($submitted): ?>
    <span class="submitted"><?php print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created))); ?></span>
  <?php endif; ?>
 <?php endif; ?>

Caroline
11 heavens