background preloader

Présentation de contenu

Facebook Twitter

Text filters

Custom Formatters. The Custom Formatters module allows users to easily create custom CCK/Field Formatters without the need to write a custom module. Custom Formatters can then be exported as CTools Exportables/Features or Drupal API Formatters. Custom Formatters was written and is maintained by Stuart Clark (deciphered). - - Important note Changes have been made to the PHP formatters Render Array integration to correctly support multi-field values, this changes the HTML wrappers of the formatter and may affect the theming of your site. This change will be made in 7.x-2.2 and the upcoming development releases. Features: Two different editor modes: Basic/HTML + Tokens: A HTML based editor with Token support.Advanced/PHP: A PHP based editor with support for multiple fields and multiple values.Support for: CCK/Fields fields.

Required Modules: Recommended Modules: [D7] Coder (includes Coder review)Devel (includes Devel generate)[D7] Form BuilderLibraries API[D7] Token. Drupal Tutorial - Creating an embedded video or audio player for a link field | Stryker Enterprise. Display Suite. Premium content. Restricts access to premium content by role and provides a general API for other modules to help decide if a user has access to premium content. This is useful on a news or membership site where teasers are available to the general public but the full body is only available to privileged users. Premium nodes appear in listings with full title and teaser available to anyone. If a user does not have adequate privileges, the default behavior is to show a simple message, but you can use Panels or theme overrides to do more custom things. Premium features time settings, so premium status can end (protecting latest content), or begin (protecting archived content) after an admin-defined timeframe.

Because this module does not use the node access system, it does not hide items that are unavailable to a user and is more efficient for large sites. Premium Content can be used in conjunction with any node access module to provide advanced access control. Dependencies. Node Subpages. This module allows site admins to define subpages for content types. For each content type, you can define what subpages will be used for nodes of that type, and what should be displayed for each subpage. The subpages can display the contents of a CCK field on the node, or a View. Use Case The module was originally developed for use on the Drug Policy Alliance website. Some content types have specific subpages that will be in use for almost every node of that type. For example, Issue pages have subpages like Our Priorities, Resources, and Activist Toolkit (see an example here). These subpages are common across Issue nodes, and it would be unwieldy to create another three nodes for those subpages for every Issue node.

Other content types have different subpages. Usage After enabling the module, visit the Subpages tab for any content type. Click the "Add another subpage" link to define a subpage. The Subpath field will be used as the path for the subpage. Misc. Versions Maintenance Sponsorship.