Thanks for the great theme, i really love it, but the date display and the author info does not work when display suit is used to alter the content display.
Any work around for it? Thank you.



Jarek Foksa’s picture

I suspect that this is because I'm using custom date format in node.tpl.php. Try replacing this:

    <div class="node-meta">
      <div class="date">
        <div class="day"><?php print format_date($node->created, 'custom', 'd') ?></div>
        <div class="month-and-year">
          <div class="month"><?php print format_date($node->created, 'custom', 'M') ?></div>
          <div class="year"><?php print format_date($node->created, 'custom', 'Y') ?></div>
      <?php if ($name): ?>
          <div class="user-name"><?php print $name; ?></div>
      <?php endif; ?>
    </div> <!-- /.node-meta -->

with this:

    <?php if ($submitted): ?>
      <div class="meta"><?php print $submitted ?></div>
    <?php endif; ?>
leon85321’s picture


Thanks for the code, but it doesnt display the beautiful date and username format to the node-meta, it only shows the regular format.