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

Popup

Popup login form

The popup suite allows builders to popup tooltip-like text, nodes, blocks, menus, forms, views and php-generated content.

It includes the following modules:

iframe page

A custom node type for creating a page where the main content is an iframe.

This can be used to let external pages be content objects inside Drupal.

Views default argument from Context

This module allows a default value for a view argument to be specified based on a piece of contextual data set through the Context module's context_set function. When configuring the default argument, you specify the context namespace and the attribute name, and the value is pulled automatically. This is particularly useful for getting information to Views blocks. This is far less hackish than specifying path arguments via arg().

Example use case

Let's say we have a Views block. It's supposed to list all of the nodes that are nodereferenced to whatever node is specified in the argument to the view like so:

nid:23
|_____nid:45
|_____nid:29
|_____nid:35
etc.

Because there's no good way to send arguments to blocks, the traditional approach is to set the View's "Default argument" parameter to PHP code containing:


return arg(1);

...or something similar. It is hackish and terrible to rely on the URL for the current nid -- that approach fails to keep the control hierarchy intact (node/xxx invokes a node controller, and if views is invoked somewhere in that stack, it should not be able to jump all the way up to the node controller to retrieve its arguments -- the node or page controller should supply those arguments).

Theme Settings Extras

 Theme settings extras 6.x-1.0-beta-3 screenshot

This is an experimental project to explore usability enhancements for Drupal's theme settings page.

It comprises two modules:

Hover Preview for ImageCache

Hover Preview Example

Hover preview Javascript effect for the ImageCache module. Allows for hover FROM any ImageCache preset TO any other ImageCache preset. Supports views and standard theme-layer output options.

Category tokens

Category tokens expose additional tokens per category that relate to the first and last terms of a node within that specific category.

Especially useful with Pathauto.

Pages

Subscribe with RSS Subscribe to RSS - Developer tools