Last updated January 16, 2015. Created on July 1, 2013.
Edited by pingwin4eg, Karlheinz. Log in to edit this page.

The Track Field has several different widgets and formatters, so that it may be used in a variety of situations.

Widgets

Widgets are ways that the field can be presented to the user when editing the field. The Track Field provides these widgets:

  • Form fields: Presents plain ol' Drupal form fields.
  • Table: The fields are presented in a table format.
  • Form fields, single track: Same as the Form Fields widget, but provides additional fields that are unnecessary when entering tracks on a release. Used by the Track Node module.
  • Table, single track: Same as the Table widget, but provides additional fields. Used by the Track Node module.

Formatters

Formatters are ways that the field can be presented to the user when viewing the field. Formatters are also integrated with the Views module. The Track Field provides these formatters:

  • Theme Template (default)
    Uses a theme template to display the tracks. The theme template is called
    discog-field-track.tpl.php, and may be overridden by any theme developer.
  • Formatted Text: Displays tracks as text, wrapped in HTML tags. Empty fields are not displayed.
  • Formatted Text, Compact: Displays tracks as text, wrapped in HTML tags, but it only displays the position, track name, and duration.
  • Table: Displays tracks in table format. Empty fields are not displayed.
  • Table, Compact: Displays tracks in table format, but it only displays the position, track name, and duration.
  • Lyrics: Only displays the lyrics (or nothing if the track has no lyrics). This is useful if you want to set up a View that displays the lyrics for a particular artist, album, etc.
  • Single Track: This formatter displays information in "one track per node" format: it displays the "Track release" field, and does not display the position. Used by the Track Node module.

Looking for support? Visit the Drupal.org forums, or join #drupal-support in IRC.