nodeterms.module

The 'Node terms' module allows selected node vocabulary terms to be group by vocabulary and re-formatted with a custom display.

This modules is very similar to the lightweight Term Display module.

This module provides full control over the display of a node's vocabulary terms. This module does not require any custom theming, most layout changes can be accomplished by adjusting the admin and vocabulary display setting and/or by adding a little CSS.

Features

  • Format flat vocabulary terms or free-tags as a list, links, or comma delimited values.
  • Hide all terms or just an individual vocabulary's terms in node's teaser and/or page view. *
  • Customize a node's vocabulary terms display for teaser and page view. *
  • Format node vocabulary as a block, fieldset, or inline text. *
  • Format heirachical vocabulary terms as a tree (aka nested lists) and/or a breadcrumbs. *
  • These features are unique to this module. The remaining features/functionality are also available within the list of 'Similar modules' below.
Notes
  • If you are using the heirachical vocabulary tree and/or breadcrumb displays you should enable caching to insure optimum performance.
Todo
  • Test
  • Coder
  • Review API documentation
  • Screencast script
  • Post
Similar modules

Constants

NameDescription
NODETERMS_TERMS_DISPLAY_BREADCRUMBS
NODETERMS_TERMS_DISPLAY_CUSTOM
NODETERMS_TERMS_DISPLAY_DEFAULT
NODETERMS_TERMS_DISPLAY_DELIMITED
NODETERMS_TERMS_DISPLAY_LINKS
NODETERMS_TERMS_DISPLAY_LIST
NODETERMS_TERMS_DISPLAY_TREE
NODETERMS_VOCABULARY_DISPLAY_BLOCK
NODETERMS_VOCABULARY_DISPLAY_CUSTOM
NODETERMS_VOCABULARY_DISPLAY_DEFAULT
NODETERMS_VOCABULARY_DISPLAY_FIELDSET
NODETERMS_VOCABULARY_DISPLAY_FIELDSET_COLLAPSED
NODETERMS_VOCABULARY_DISPLAY_FIELDSET_COLLAPSIBLE
NODETERMS_VOCABULARY_DISPLAY_HIDDEN
NODETERMS_VOCABULARY_DISPLAY_INLINE
NODETERMS_VOCABULARY_DISPLAY_NONE

Functions

NameDescription
nodeterms_cache_clearClear node terms cache.
nodeterms_cache_getGet cache node terms output.
nodeterms_cache_setSet cache node terms output.
nodeterms_dataFetch nodeterms data for a vocabulary or defaults if there are no registered data.
nodeterms_form_taxonomy_form_vocabulary_alterImplementation of hook_form_alter().
nodeterms_helpImplementation of hook_help().
nodeterms_menuImplementation of hook_menu().
nodeterms_preprocess_nodeImplementation of hook_preprocess_node().
nodeterms_taxonomyImplementation of hook_taxonomy().
nodeterms_themeImplementation of hook_theme().
nodeterms_vocabularies_outputOutput a node's vocabularies group by vocabulary with a customized display and terms formatting.
nodeterms_vocabulary_outputOutput a node's vocabulary with a customized display and terms formatting.
theme_nodeterms_terms_display_breadcrumbsTheme node terms vocabulary as breadcrumbs.
theme_nodeterms_terms_display_customCustom theme node terms vocabulary
theme_nodeterms_terms_display_delimitedTheme node terms vocabulary as delimited values.
theme_nodeterms_terms_display_linksTheme node terms vocabulary as links.
theme_nodeterms_terms_display_listTheme node terms vocabulary as list.
theme_nodeterms_terms_display_treeTheme node terms as tree (nested un-ordered lists).
theme_nodeterms_vocabulary_display_blockTheme node terms vocabulary as block. Uses theme('block', $block).
theme_nodeterms_vocabulary_display_customTheme node terms vocabulary inline.
theme_nodeterms_vocabulary_display_fieldsetTheme node terms vocabulary fieldset that can be collapsible and/or collapsed.
theme_nodeterms_vocabulary_display_inlineTheme node terms vocabulary inline.
_nodeterms_get_form_terms_display_styleReturn style attribute for a vocabulary's terms toggle wrapper if the associated display is hidden.