Maintainers strive to actively monitor issues and respond in a timely manner.

Context Breakpoint

What it does:

Context Breakpoint brings CSS media queries to the server.
By using Context and Breakpoints (which will be moved into the core in Drupal 8) you can alter the page based on the visitors screen resolution, browser window size, or aspect ratio.

A new context condition "Breakpoint" is available after install.

Example use cases:

  • Use a special narrow template for screens smaller than 800px in width.
  • Add an additional block when the browser window is higher than 600px
  • .....

Adaping to resolution should mostly be done with CSS (and media queries),
but sometimes you just can not do everything you need to in plain CSS, and more extensive changes - like different markup - are required.

IMPORTANT NOTE:
This module detects screen and browser size with Javascript and sets a cookie accordingly.
This means that Javascript and cookies must be enabled.
Also, after changing the browser size, a reload will obviously be required
for the changes to show up. For this purpose, you can use the auto-reload feature (see below).

Supported media queries

  • (min/max-)height
  • (min/max-)width

Content callback

What does Content callback do?

This module allows you to return any renderable array, created in code, via a field.

For drupal 7 you need to register a content callback via hook_content_callback_info() it will be available in the Content callback field options.

The drupal 8 version is rewritten based on the plugin api. Examples can be found in the example module packed with the drupal 8 version. The drupal 8 version also contain some new stuff such as configuration options for the content callback and an integration with block plugins.

Why would you use Content callback?

We started using this in every project. You have the freedom to create anything you want in code. Via this module, this content can be displayed in the context of an entity. So? This way you have all the extra's an entity provides. For example an alias, menu item, meta tags, searchable!!,..

Views display

This module contains an extra module with a custom views display. Just create a Content callback display and it will be available via the Content callback field. Guess what, the view will become searchable. Big awesomeness!!

Context plugin

This module provides a context condition. If a certain callback is executed the condition will be fulfilled. This is not yet implemented in the drupal 8 version as context isn't ported yet.

Delayed publication

This module adds two fields to nodes of a chosen type or types (a configuration page allows you to choose which types of node are impacted).

Toolbar Paths

Overview

The Toolbar Paths module provides a simple settings interface which allows you to
control the display of the Drupal 7 Toolbar, by simply invoking path conditions.

Pages

Subscribe with RSS Subscribe to RSS - Actively maintained