Empower developers with tools that assist with developing and debugging the frontend or backend of the site.

Node factory

This module is no longer maintained

Ever wanted to create nodes on the fly? This module provides functionality to do this.

With this module you can write code like this to produce a node.

// my_nodetype must be an existing nodetype
$edit = node_factory_create_node( 'my_nodetype');

node_factory_set_value( $edit, 'title', 'my value');
node_factory_set_value( $edit, 'field_node_ref', 123);
node_factory_set_value( $edit 'uid', 321);
node_factory_save_node( $edit);

Multisite Maintenance

There are better tools to do this (i.e. Drush). Furthermore the idea of a graphical tool to perform updates on multiple sites is not currently possible to do "the right way" without some serious patches to update.php.

Helps site managers to perform batch maintenance on multisite installations. Currently the module can take selected sites off-line and then back on again. It can also run update.php on selected sites.

Note that this module depends on the multisite_api module.

*Installation*
1. Enable multisite_api and multisite_maintenance modules at admin/build/modules (You only need to do this on one of the sites in your multisite)
2. Give the 'perform maintenance on multisites' permission at admin/user/access
It should go without saying that this is a very powerful module and its use should be
restricted to users that have a strong understanding of Drupal multisite setup
3. Read all help text at:
admin/multisite/multisite_setup
admin/multisite/multisite_setup/status
admin/multisite/multisite_setup/update

Amazon Web Services

AWS is a module targeted towards module developers that provides a unified AWS profile management system.

Magnifier

A jquery image magnifier, based on the dojotoolkit Magnifier utility. From http://dojotoolkit.org/~dante/jquery/Magnifier.html

To use:

theme('magnifier', $image_path, $args);

Specify $args passed as an array of optional elements, using the following:

<?php
/**
* Displays an image with a magnifier glass box.
*
* @param $image_path
* This is the filepath to the image to display.
* @param $args
* An array with optional arguments:
* 'magnify' => 4, // the zoom magnification scale. defaults to 4
* 'glass_size' => 125, // the size of the glass box, which will be a square to zoom. defaults to 125
* 'imagecache' => '', // the imagecache setting to use for the smaller image. if this is set, then $image_path
* // will be used for the image in the glass box only, and the imagecache'd version will be
* // used in the main page display.
* 'image' => '', // the image path of the larger image displayed in the glass when zooming.
* // if not specified, this defaults to $image_path. You don't need this when using imagecache.
* 'width' => NULL, // the display width of the smaller image -- if specified, forces a browser image scale

REST Client

This module is undergoing large changes, production use is not recommended.

INTRODUCTION

REST Client is a robust HTTP request module to consume REST style services.

Why use REST Client instead of drupal_http_request():

  • Streams large files
  • Uses Expect 100 header before sending data in case of redirection
  • Fully customizable HTTP request
  • REST utility functions: HMAC, binary SHA1, binary MD5

Toplist

Toplist is a module that lets webmasters submit their links, have them approved and keep a link exchange that tracks website referrers, thereby giving more exposures to more-active websites.

Pages

Subscribe with RSS Subscribe to RSS - Developer tools