Considered feature-complete by its maintainers.

ContactFormAdd

This is a quick little module that will add a checkbox to the Drupal contact form. This checkbox will give the user the option to request to be added to the mailing list or not.

Module dependency toggle

Summary

Module dependency toggle is a small module that hides module dependencies and provides a button for showing/hiding.

Commerce Views Pane

Commerce Views Pane provides a Views display plugin to embed a view in a Drupal Commerce checkout pane. This plugin is similar to the Views block display, except it is for Drupal Commerce checkout panes instead of blocks.

Why use Commerce Views Pane?

  • You want to display a view during checkout and optionally pass any order data as a view's contextual argument.
  • You want to display order information on the checkout complete page.
    Examples:
    • Download links to files purchased.
    • Shipping information - addresses, tracking numbers, estimated delivery.
    • Payment transaction information

jVectorMap API

Basic jVectorMap

SUMMARY

This jVectorMap module is a simple libraries API wrapper for the super cool jVectorMap jQuery JavaScript library. It provides all the wiring to start creating maps in your drupal website.

Please refer to http://jvectormap.com/ for a more full descripton of jVectorMap.

REQUIREMENTS

INSTALLATION

  • Install library as usual, for further information see https://drupal.org/node/1440066.
  • The JavaScript & CSS files library files should have the version number removed i.e. jquery-jvectormap-1.2.2.min.js => jquery.jvectormap.min.js.

API

Example #1

    // file: myModule.module
    $form['default-world-map'] = array(
      '#theme' => 'jvectormap',
    );
    // file: myModule.js
	(function ($) {
      Drupal.behaviors.example = {
        attach: function (context, settings) {
          $('div#jvectormap-auto-identifier-0').vectorMap();
        }
      };
    })(jQuery);

Example #2

    // file: myModule.module
    $form['custom-map'] = array(
      '#theme' => 'jvectormap',
      '#attributes' => array(
        'id' => 'custom-world-map', // Optional as one will get auto-generated.
        'style' => 'width:300px;height:200px', // Optional - default size 600x400.
      ),
      // Optional as it defaults to jquery-jvectormap-world-mill-en.js
      // if it exists in jvectormap libraries folder.
      '#map_path' => drupal_get_path('module', 'example') . '/js/custom_world_en.js',
    );
    // file: myModule.js
    (function ($) {
      Drupal.behaviors.example = {
        attach: function (context, settings) {
          $('div#custom-world-map').vectorMap({
            map: 'custom_world_en',
          });
        }
      };
    })(jQuery);

FAQ

Q: Why isn't it working? No map renders and the map JavaScript file gives error:

Telephone

Backport of the Drupal 8 core 'telephone' module as an future-proof alternative to the Phone module.

Region Class

Region Class is a very simple module. It allows to assign CSS classes to regions on the theme-settings page.

Pages

Subscribe with RSS Subscribe to RSS - Maintenance fixes only