Posted by jchatard on January 11, 2010 at 6:55pm
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
Development releases
Project Information
- Maintenance status: Minimally maintained
- Development status: Maintenance fixes only
- Module categories: Content Display, Utility, Views
- Reported installs: 79 sites currently report using this module. View usage statistics.
- Last modified: May 26, 2011