I don't think that this from node.tpl.php works any more:

      <?php if (!empty($content['links']['terms'])): ?>
        <div class="terms terms-inline"><?php print render($content['links']['terms']); ?></div>
      <?php endif; ?>
    </div>
  <?php endif; ?>

The classes on the terms are the default from core such as 'field-type-taxonomy-term-reference' not "terms terms-inline" .

Comments

Scott J’s picture

Anyway, now that we have term reference fields, we probably want to leave the control of this at admin/structure/types. The easiest method that I have found for adding/changing classes is to use a field--taxonomy_term_reference.tpl.php template file.

JohnAlbin’s picture

Title: print render($content['links']['terms']) » taxonomy terms no longer get special treatment in node.tpl
Status: Active » Fixed

Thanks, Scott! A patch would have been nice, but you gave enough description that I found all the code and all the classes that needed to be nixed.

You're in the CHANGELOG now!

Fixed. http://drupal.org/cvs?commit=501444

Scott J’s picture

Sorry I didn't get around to posting my file. I did post one over here ;-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.