Community Documentation

Term Display: customize how each vocabulary's terms are shown

Last updated August 8, 2009. Created by joachim on February 27, 2009.
Edited by kdebaas. Log in to edit this page.

By default, Drupal's taxonomy system displays a node's terms a single list, sometimes within the node links. The Term Display module allows you to remove the terms for particular vocabularies from this list and display them in any way you like. Several built-in options are provided, and the terms are made available for more advanced custom theming.

Usage

Install the module as normal.
Term Display adds a set of options to each vocabulary's admin settings.

You can choose to show the vocabulary's terms as one of:

Default
The terms will be displayed as normal: the module will do nothing to them.
List
The terms are shown in the node body as an HTML bullet list, with the vocabulary name as its title.
Custom (defaults to comma separated)
The terms are shown in the node as a comma-separated list.
Load into $node object
The terms are not shown, but their data is loaded into the $node object, from which a theme can take them to format in any way. See the theming page for examples of how to use this.
None (hidden)
The terms for this vocabulary are not shown at all.

You can also choose a weight, to control where the List and Custom display styles place their content within the node body, relative to title, body, and CCK fields.

Page status

No known problems

Log in to edit this page

About this page

Drupal version
Drupal 5.x, Drupal 6.x

Structure Guide

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here