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

Block Inject Filter

The Block Inject Module Provides an Input Filter that you can add to any of your Input Formats. Once enabled, the filter allows you to inject (insert) any Custom Block into the content at the end of a predefined number of paragraph.

The module is an out of the box solutions for inserting Custom Blocks (Like Adsense Ad) into the content(article) automagically at the end of a specified paragraph (say 2nd para) in all articles.

-- REQUIREMENTS --

Filter Module, which is available in Drupal Core.

-- INSTALLATION --

* Download and Install the Module

-- CONFIGURATION --

* Edit any of your Input Format (say Full HTML)
* Enable "Block Inject" filter
* In the configuration form of the filter, provide below details:
1) The Custom Block which has to be inserted
2) The tag after which the Block has to be injected
You can choose to inject the block after the close of Nth

tag, or

tag or a New Line
3) The value of N (The number of the paragraph after which you wish to insert)

-- TROUBLESHOOTING --

* If you have other filters enabled along with Block Inject filter, observe how are changing the output. It is recommended to place Block Inject Fiter on top of all other filters
* Beware than though your actual content does not have any

tag, the could be

Pester

A little Features-based module that kludges the Date project's Date Repeat field to schedule email notifications on a per-user basis. Developers can implement one or more of this module's hooks to specify what is sent. See the included pester_watchdog.module for an example.

Basic usage:

We assume all views take a user ID as their first argument, or accept no arguments. Arrays returned from hook implementations are keyed by user permission; If a user hasn't been granted that permission they won't be sent the output of the corresponding view.

/**
 * Implements hook_pester_views().
 */
function mymodule_pester_views() {
  return array(
    'access content' =>  array(
      array(
        'view' => 'myview',
        'display' => 'block', // Defaults to 'default', rather sensibly.
        'weight' => 0, // To order output of multiple views.
      ),
    ),
  );
}

This module is intended to be as lightweight as possible (i.e. I'm lazy). If you want to do anything fancy with the output, you'll have to implement one or more Views hooks, eg.:

<?php
/**
* Implements hook_views_pre_build().
*/
function mymodule_views_pre_build(&$view) {
if ($view->name == 'myview' && $view->current_display == 'block' && ($user = user_load($view->args[0]))) {

Reservations: Advanced Inventory UI

This module alters the default UI provided by Reservations breaking the Reservable items up into multiple sub-inventories.

Foresight Images

Provides a field formatter to display image fields using the foresight.js library. Core image effects are able to adjust scale dimensions to account for device pixel ratio and requested image size.

This means that:

  • High resolution images can be served to Retina devices and other devices with high pixel ratios.
  • Images are dynamically requested at alternate sizes to fit responsive layouts. The browser does't need to download a large image just to scale it down in the layout. The image is requested and generated at the exact size required.

For more information on Foresight visit https://github.com/adamdbradley/foresight.js

Installation

Usage

Select the 'Foresight Image' formatter to display an image field in your content type's display settings or in a view. Choose an image style that contains one or more scale / resize effects.

This module affects the behaviour of the following filters:

  • image_resize
  • image_scale
  • image_scale_and_crop

Pages

Subscribe with RSS Subscribe to RSS - Actively maintained