kvanderw example

Component type

module

Maintenance status

Development status

Component created

Component changed

we be testing... rfay is at fault!
3 cheers for Drupalcon Chicago

Person

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This module is required by the Milan Module. The idea is for the module to provide a basic module to support a variety of other modules. The Milan module uses the person module to Track author's of books. A baseball card module could use the Person module as the basis to track baseball players.

User CSV Export

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Abandoned.

For a much better implementation try Views Data Export

Essentially a checkbox form populated by all fields attached to the user entity type. Each field selected on the form is added into the final csv and a link is output to download it.

Underscore.js

Component type

module

Maintenance status

Development status

Downloads

10482

Component created

Component changed

Provides Library API access to the Underscore.js JavaScript library.

Features (7.x-2.x)

  • Makes Underscore.js available to other modules and custom code via the Library API
  • Provides a drush command (underscore-download) to download and install the latest version of the library

Usage (7.x-2.x)

After enabling this module, install the Underscore.js JavaScript file:

  • Without drush: Download underscore.js and store it in your libraries directory. In most cases the resulting path should be sites/all/libraries/underscore/underscore.js
  • With drush: Run the command drush underscore-download

In your module code, add the library with libraries_load() and drupal_add_library(). If unsure where, add it in an implementation of hook_init(). Use 'underscore' for both the module and library name arguments, like this:

libraries_load('underscore');
drupal_add_library('underscore', 'underscore');

You can update your version of Underscore.js to the latest version by calling the drush command (drush underscore-download).

Upgrading from 7.x-1.x to 7.x-2.x

The 7.x-2.x branch is a rewrite of the existing module. Upgrading to the 7.x-2.x branch will require changes to your code. Notable changes to the module include:

  • The actual Underscore.js JavaScript is no longer bundled with this module. It must be downloaded and installed manually or with the drush command provided in this module.
  • The Underscore.js library is no longer enabled automatically. To use it, your code must call libraries_load() and drupal_add_library(). An example is provided in the section above.
  • Now uses the library hooks provided by Libraries API module (rather than hook_library() from core).