woensdag 10 februari 2010

Display Suite module

The Display Suite module was presented on FOSDEM 2010 as one of the Drupal devroom talks. Below you will find the main functionality and links with more information.

The Display suite module is an API which other modules can use to store and manipulate display data for objects (nodes, users, comments etc). Modules implementing this API automatically get an interface for adding build modes, fields and plugins either through code or via the UI.

Key features of the API:
  • Regions: every field can be dropped in its own region per build mode.
  • Choose formatters and labels per build mode
  • Define custom build modes via the UI.
  • Define custom (block) fields via the UI with token support.
  • Hooks for adding and overriding custom fields, plugins and build modes.
  • Plugins to alter the display at runtime.
  • Import & export functionality.
  • Views and basic Features support

Modules implementing the API:
  • Node displays- Node displays is a replacement for the node build modes and the field / display settings screen provided by CCK. You can select per build mode which field is displayed, give it an order and render it in a node region. Support and integration with core (search) and contrib (like CCK, fivestar and ubercart) modules is available at the Node displays contributions project.
  • Node displays contributions – support for CCK, Fivestars, Ubercart products, apachesolr.
  • Comment displays - renders the comment fields into regions.
  • User displays - renders the user profile fields (with or without the core profile module) into regions. It also exposes a block build mode so you can render different data of a user into a block region.
  • Heartbeat displays - shows user activity on a website

Project page: drupal.org/project/ds
Demo page: demo.customsource.be/ (You can login with demo/demo to play around)
Screen cast: www.vimeo.com/9214091

Geen opmerkingen:

Een reactie posten