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

Photoframe

The purpose of Photoframe is to provide a general API for image-based content wrapping such as rounded corners and drop shadows. The API allows extensible styles, is easy to use, and avoids unnecessary markup.

Photoframe uses jQuery to wrap image-based 'frames' around content after the page has been loaded and is invoked by adding a single CSS style to any element.

Features

  • No javascript coding needed. Just add a single class to any element to wrap the frame around it.
  • Frames load after the page has been loaded, so no extra markup is needed (good for SEO and accessibility)
  • Lots of current Drupal Photoframes are already available for free use, including drop shadows, several versions of rounded corners and picture frames.
  • Lightweight. Just a single jQuery function (of about 10 lines), and a small CSS file for each frame loaded.
  • Simple administration. On the admin page, you can preview each of the frames and select which ones to load.
  • Flexible. Since the frames are image-based, they can be used in a number of different ways.
  • Simple documentation is provided.

Session expire

Expires rows from the session table older than a certain time.

Background

By default, Drupal ships with a session expiration time of just over 23 days, using this directive in settings.php:

ini_set('session.cookie_lifetime',  2000000);

However, for this to work automatically, it requires PHP's garbage collection to be configured correctly.

Since some distributions, e.g. Debian and Ubuntu do not ship with PHP defaults that triggers PHP garbage collection, there is a need to also set the following:

ini_set('session.gc_probability', 1);
ini_set('session.gc_divisor', 100);

This will work, but has some drawbacks:

  • It will be triggered at some random time, rather than at a predictable time.
  • It could slow the response for the unlucky user who happens to trigger it.

So, on sites with a distribution that is not setup as above, or on really busy sites, the sessions table can grow to be very large, and that can cause slow accesses to it, as well as slow writes due to locking, leading to performance bottlenecks.

Panels Accordion

** Looking for Co-Maintainer of this module. Someone who keeps up with changes to CTools module. **

Node Hierarchy

Node Hierarchy allows nodes to be children of other nodes creating a tree-like hierarchy of content. The module offers:

  • 1-Click creation of hierarchical menus
  • Hierarchical breadcrumbs
  • Automatic hierarchical urls using Pathauto (and token module)
    (eg: q=aboutus/history/beginning).
  • Automatic creation of hierarchical menus if desired.
  • Optional Views integration.
  • Optional Node Access integration.

Backup and Migrate

Back up and restore your Drupal MySQL database, code, and files or migrate a site between environments. Backup and Migrate supports gzip, bzip and zip compression as well as automatic scheduled backups.

With Backup and Migrate you can dump some or all of your database tables to a file download or save to a file on the server or offsite, and to restore from an uploaded or previously saved database dump. You can choose which tables and what data to backup and cache data is excluded by default.

Pages

Subscribe with RSS Subscribe to RSS - Developer tools