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

Menu Link (Field)

Defines a menu link field type.

Drupal's core Menu module allows nodes to place menu links (linking to the node) into the menu. The Menu Link (Field) module however allows entities of any type to place menu links into the menu using a field.

Variable Check

Drupal 7 has a new and efficient way of loading module and theme settings from the database. The new loader requires all settings to be stored in the current (serialized) format.

An unfortunate side effect is that any left-over settings from modules that did not clean up when they were uninstalled, and are not stored in the correct format, cause PHP notices on your site.

This may happen if you've for instance upgraded a site from Drupal 5, through Drupal 6 to Drupal 7.

This module lists all entries in the {variable} table that cause unwanted PHP notices on production sites, such as:

Notice: unserialize() [function.unserialize]: Error at offset 74 of 75 bytes in variable_initialize() (line 749 of /srv/www/<sitename>/includes/bootstrap.inc).

By knowing the offending variable name, you can remove it from the database, making the notice go away. Of course, you should probably notify the module or theme author that their module or theme does not properly clean up after itself.

If you find a variable that causes a problem, please note it in a comment on #1284364: Use variable_initialize() against broken values - Notice: unserialize() [function.unserialize]: .

Related Modules

  • Variable Cleanup — Checks for unused variables in your variable table by scanning your entire filesystem for unused variables.

Devel Bonus

This module provides more features for developers and themers when they debugging drupal.

Code per Node

Screen shot 2011-01-06 at 2.32.34 PM.png

Code per Node makes it possible to add custom CSS and Javascript per node, per content type, per block, and globally. The code is stored in the database, but served from the file system. It also supports syntax highlighting with CodeMirror.

CPN was covered by a recent webinar by Mediacurrent: http://www.mediacurrent.com/blog/webinar-code-node (this is also mentioned in DrupalEasy podcast 120)

Entity index

Provides a database table containing indexes to entities of any type. This module doesn't do anything on its own and should only be installed if another module depends on it.

Hosting backup garbage collection

This is an add-on module for the Aegir hosting system:
http://aegirproject.org

Aegir 2

For the same features for Aegir 2 and above have a look at Hosting site backup manager.

Introduction

This module allows you to specify how long Aegir should retain backups for. You can specify, for example, that after a month, only one backup a week should be kept. You can specify as many of these rules as you want, so you could keep hourly backups for a day, daily backups for two weeks and monthly backups thereafter.

Currently it applies to all sites hosted by Aegir, and there is no way to exclude specific sites.
Installation

  1. Install as any other Drupal module into your hostmaster site.
  2. Enable the feature in the 'experimental' section of 'admin/hosting' page.

Configuration

  1. Settings are available at 'admin/hosting/backup_gc' and allow you to choose the numbers of backups to keep after specified periods of time.

Friendly warning

This module removes backups, but may not work perfectly, and might remove backups that you don't want removed. Although, if you are sensible about the settings used you won't lose any backups that you might want to keep.

Related modules

Pages

Subscribe with RSS Subscribe to RSS - Developer tools