Maintainers monitor issues, but fast responses are not guaranteed.

Entity reference preview

Entity reference preview

Adds an option to show entity build modes instead of labels in the autocomplete of an entity reference.

BxSlider - Views slideshow integration

bxslider

* Preview - Examples - Showcase of functionality *

BxSlider carrousel preview
BxSlider callbacks example

Overview

This module provides integration with bxSlider

Features

  • Carrousel integration with Views & Views slideshow
  • BxSlider integration

Requirements & Links to useful resources

Keywords

  • bxslider
  • carrousel, carousel
  • slideshow
  • views slideshow

How to

  1. Install the required modules (See Requirements above !)

Global Text Search

Provides a mechanism to search fields for strings of text. Example uses are to look for hard-coded absolute domain names, etc.

jQuery Table Of Contents (TOC)

Generate a table of contents for specific page content using javascript.

Usage

You need to install the following jQuery plugins in your sites/all/libraries folder:

Make sure this is the folder structure you end up with:
{Libraries}/jquery.tableofcontents/jquery.tableofcontents.min.js
{Libraries}/jquery.scrollTo/jquery.scrollTo.min.js
{Libraries}/jquery.localScroll/jquery.localScroll.min.js

Visit admin/config/user-interface/toc to configure the module's behavior and enable content types.
Visit the content types "manage fields" tab to place the "Enable Table Of Contents" fieldset.

Optionally, a jquery selector for the destination field can be added. That way you can place the TOC anywhere you want (e.g. a custom block, panel, region, ...)

Sponsored

Development of this module was brought to you by Coworks Drupal Team.
The author may be contacted for custom development.

History

No JavaScript Info

Screenshot No JavaScript Info

If the browser has JavaScript deactivated, a warning message is shown on the top of the page!

Variable JS

This module exposes all variables defined with Variable API to JavaScript API.

Usage

  1. Checkout and enable module
  2. In hook_variable_info() define your variables to be exportable to JavaScript
  3. Access your variables from Javascript with code like:
    Drupal.settings.variable_js.variableName (note that changes will not persist).

Example handler


function mymodule_variable_info() {

  $variables = array();
  $variables['mymodule_info'] = array(
    'title' => t('Info text'),
    'description' => t('Sample variable with information'),
    'type' => 'string',
    'token' => TRUE,
    'multidomain' => TRUE,
    'js' => TRUE,
  );
return $variables;
}

Example JavaScript usage

function($) { 
  Drupal.behaviors.mymodule_test = {
		attach : function(context) {
                        alert(Drupal.settings.variable_js.mymodule_info);
		}
	}
})(jQuery);

Note: examples were not tested on animals ;-).

Dependencies

Requires Variable.

To do

Some ideas for improvement:

  1. Allow exporting to JS of variables from GUI (add a checkbox in variable GUI that enables any variable to be exportable to JS)

Pages

Subscribe with RSS Subscribe to RSS - Minimally maintained