The Drupal Build modes module allows a site administrator to add node build modes via the administration user interface.

Build modes are a feature in CCK that expand Drupal's node displays beyond just full, teaser, print and RSS. You can define any number of new build modes either in code using CCK's hook_content_build_modes(). (For information about the hook, see the implementations CCK provides on behalf of core.)

When you create a new build mode, you can set up display options for this build mode, use the build mode in Views, themes or your custom code.

Important

  • You must use strict comparisons when checking build modes. This module defines build modes as a string, but core's NODE_BUILD_NORMAL constant is 0. In PHP without strict comparison 0 is equal to 'any string'.
  • Teasers of node body content are not available in other build modes. You must provide this value in some other way if you want to use it in a template.

Downloads

Recommended releases

Version Downloads Date Links
6.x-1.0-beta1 tar.gz (11.54 KB) | zip (13.63 KB) 2011-May-26 Notes

Development releases

Version Downloads Date Links
6.x-1.x-dev tar.gz (11.54 KB) | zip (13.63 KB) 2011-May-27 Notes

Project Information


Maintainers for Build modes

  • bangpound - 13 commits
    last: 37 weeks ago, first: 1 year ago
  • jchatard - 1 commit
    last: 2 years ago, first: 2 years ago

Issues for Build modes

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 18 Feb 10