Active
Project:
Typebased
Version:
7.x-1.8
Component:
User interface
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2011 at 15:54 UTC
Updated:
21 Sep 2011 at 15:54 UTC
Hello,
I would like to print the taxonomy terms instead of the date (or the username).
But when I try with the variable $terms in the node.tpl.php I am getting an error : undefined variable $terms... in node.tpl.php
<div class="node-meta">
<?php if ($display_submitted): ?>
<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>
</div>
</div>
<div class="user-name"><?php print $name; ?></div>
<?php endif; ?>
<?php print render($content['links']['comment']); ?>
</div> <!-- /.node-meta -->
How can I do to display the termes there instead of of the links at the bottom of the node ?
thanks.