Sarnia

Component type

module

Maintenance status

Development status

Downloads

7196

Component created

Component changed

Sarnia allows a Drupal site to interact with and display data from Solr cores with arbitrary (non-Drupal) schemas, mainly by building Views. This is useful for Solr cores that index large, external (non-Drupal) datasets that are either not practical to store in Drupal or may already be indexed in Solr.

Sarnia treats records from Solr as Drupal entities, although listing, filtering, and displaying Sarnia entities should be done using Views. Solr properties can be formatted within Views fields using field formatters (hook_field_formatter_info(), hook_field_formatter_view()).

Form Timeout

Component type

module

Maintenance status

Development status

Component created

Component changed

This module provides developers a `timeout` attribute for forms (Form API).

One example use is having a form that says "Fill this form out in the next 3 minutes and be entered to win a free car!"

A code example for developers:

<?php
function mycustommodule_form_alter(&$form, &$form_state, $form_id) {
  $form['timeout'] = '+3 minutes'; // Uses PHP's strtotime() function 
}
?>

Example values

  • +30 seconds
  • +10 minutes
  • +12 hours
  • +1 day

Scheduled Logo

Component type

module

Maintenance status

Development status

Component created

Component changed

Do you want Drupal to change your logo during special events like holidays? Use this module to schedule when your logo will automatically change.

Schedule as many changes as you want - set everything once and watch your logos update all year long!

C2T

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

C2T is a module for forum. It picks up a comment from an existing thread and create another thread with the comment body. Nothing big, but important if you run a forum where comment might become as important as the thread frequently.

Image Preview

Component type

module

Maintenance status

Development status

Downloads

2762

Component created

Component changed

Overview

When you hover over an image, it loads a bigger version of that image next to it. You can also enable a "zoom" feature that lets you replace the bigger image on keypress of "z" with for example a crop image style.

Devlopment infos

The script uses hoverIntent
The basic jquery replacement script is written for the module and easy readable if you know basic jquery.

MIC

Component type

module

Maintenance status

Development status

Component created

Component changed

MIC : Multiple Image Cropping

MIC is a widget that extends possibilities of image field to crop several instances of a single image using image style presets.

In that way, you will able to render an convenient image for each type of display. For example, you use the same image for full content and teaser display but you wish to use another format for each one.