Configure the layout and format of content and data presented to site visitors.

Attachment Links

The Attachment Links module provides permanent links to files attached to a node. A single, easy-to-remember URL can be used to retrieve the preferred (canonical) or newest version of a file regardless of how many versions of that file have been attached to a node.

Typically, users will want to create a "File" content type and enable the Attachment Links module for that content type. Each "File" node should refer to a single file: "Handbook," "Company logo," "Team roster," etc. Though each node could contain multiple versions of the file, Attachment Link provides permanent link to access the preferred or newest versions.

Status Messages Alter

Status Messages Alter provides developers with a new hook called "hook_message_alter." This hook enables developers to alter the text that is displayed in status messages before the messages are th

Custom Formatters

🇺🇦

This module is maintained by Ukrainian developers.
Please consider supporting Ukraine in a fight for their freedom and safety of Europe.

The Custom Formatters module allows users to easily create custom Field Formatters without the need to write a custom module. Custom Formatters can then be exported as CTools Exportables, Features or Drupal API Field Formatters.

 

Features:

  • Pluggable editor/renderer engines:
    • Formatter preset
      Create simple formatters from existing formatters with preset formatter settings.
    • HTML + Tokens
      A HTML based editor with Token support.
    • PHP
      A PHP based editor with support for multiple fields and multiple values.
    • Twig
      A Twig based editor provided by the Twig filter module.
  • Supports for all fieldable entities, including but not limited to:
    • Drupal core - Comment, Node, Taxonomy term and User entities.
    • Field collection module - Field-collection item entity.
    • Media module - Media entity.
  • Exportable as:
    • Drupal API formatter via:
      • Custom Formatters export interface.
    • CTools exportable via:
      • Custom Formatters export interface.
      • CTools Bulk Export module.
      • Features module.
  • Live preview using real entities or Devel Generate.
  • Integrates with:
    • Coder Review
      Review your Custom Formatter code for Drupal coding standards and more.
    • Contextual links (Drupal core)
      Adds a hover link for quick editing of Custom Formatters.
    • Display Suite
      Format Display Suite fields.
    • Features
      Adds dependent Custom Formatters (from Views or Content types) to Feature.
    • Form Builder
      Drag'n'Drop interface for builder Formatter Settings forms.
    • Insert
      Exposes Custom Formatters to the Insert module.
    • Libraries API and the EditArea javascript library
      Adds real-time syntax highlighting.
    • Token
      Adds the Token tree browser to the HTML + Tokens engine.

 

AudioField

Example of audiofield in use

Audio Field module adds new field that allows you to upload and play audio files in the default HTML5 audio player or one of multiple selected third-party audio players.

Currently this module supports most audio formats (depending on the selected audio player).

Comments in a View

This module one thing: It hijacks the normal node display page and uses a view to display that node's comments rather than comment module's normal output function.

Pages

Subscribe with RSS Subscribe to RSS - Content display