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

Plusmore

This module provides a simple formatter for taxonomy terms to display the terms with plus more effect with a configurable items to be shown before +more. Eg : Drupal,Git +3 more.

TOC Formatter

Table Of Contents

Display formatter that adds a set of table of contents (TOC) links to the top of a text area field, and 'Move to top' links at each H2 tag in the text.

As this is a display formatter it can be used on any text, long text, or text with summary field, at any time. The user adding content to the field doesn't need to include any extra tokens in the text, the formatter works completely automatically.

This module uses PHP DOMDocument to manipulate content, so may be faster and more accurate than other modules that use a regex approach.

To Do

  • Only H2 currently supported, need to add support for other heading tags
  • Smooth jumping to anchor tags
  • Currently TOC is added automatically at top of text, add option to add TOC by including a token

Similar Modules

Table Of Contents

Text format filter which converts user entered token into a table of contents. Has a lot of features.

TOC Filter

Text format filter which converts user entered token into a table of contents. A lightweight alternative to the Table Of Contents module.

Sponsorship

Development funded by Global Canopy Programme.

Development

ZURB Section

ZURB Section extends the Field Group module to provide Field Group formatters to pick from, which in turn will render the groups as Foundation tabs or Foundation accordion groups. This works best with Foundation 5.x based themes, or themes that use the Zurb Foundation framework in some manner.

Examples

Classes

You can add additional classes in the display settings to trigger other tab styles. If you set the Foundation Tabs container class to contained, the whole tab and tab content area will have a border. If you have two to five tabs in a container, you can add two-up, three-up, four-up, or five-up to evenly space the tab headers. No extra javascript, CSS, or QuickTabs-ish modules required.

Bean Tweets

Bean Tweets is a small, custom module that utilizes the Bean API to create a reusable block of tweets.

Field Collection List formatter

Field collection list provides a field formatter that allows you to output a multi value field collection field as a simple HTML list.

menuimage

Once added, this image file may be used as desired in a custom theme

When editing a menu link, this module provides a file field to upload an image to associate with a menu item. In the array returned by menu_link_load, the fid of the image file is contained in [options][content][image]. This may may be passed as a parameter to file_load to obtain its public:// uri, and further used with either file_build_uri or image_style_url to populate the src= attribute of an <img>.

While somewhat similar to Menu Icons, in that it creates an attribute in the menu link's options array, this module does not involve the theme layer whatsoever. It is up to the developer of a custom theme to write code to render an image for a menu item where appropriate.

Pages

Subscribe with RSS Subscribe to RSS - Content display