This project is under active development.

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.

Commerce Migrate OSC

These are migration classes based on the Migrate module, to migrate an osCommerce site to Drupal Commerce.

Included:

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 - Under active development