Developer

Form API Validation

pedrofaria - November 19, 2009 - 18:02

This module incrise the validation power of Drupal Form API (fapi). With it, you can add more validation rules and values filters easily.

Why not Validation API ?

Usage

Example:

<?php
//...

$form['myfield'] = array(
 
'#type' => 'textfield',
 
'#title' => 'Email',
 
'#required' => TRUE,
 
'#rules' => array(
   
'email',
   
'length[10, 50]',
    array(
'rule' => 'alpha_numeric', 'error' => 'Please, use only alpha numeric characters at %field.')
  ),
 
'#filters' => array('trim', 'uppercase')
);

//...
?>

Obviously this module provide many rules for you.

numeric, lenght, chars, email, url, ip, alpha_numeric, alpha_dash, digit, decimal and money

If any of this rules was what you need, you can use your own with hook_fapi_validation.

<?php
/**
* Implementation of hook_fapi_validation
*/
function mymodule_fapi_validation() {
return array(
'rule_name' => array(
'type' => 'rule',
'callback' => 'mymodule_validation_rule_name',
'erro_msg' => t('Invalid value for %field')
),
'filter_name' => array(
'type' => 'filter',
'callback' => 'mymodule_validation_filter_name',
),
);
}

function mymodule_validation_rule_name($value) {
if (preg_match('/^[a-z]+$/', $value)) {
return TRUE;
}
else {
return FALSE;
}
}

Content type overview

wulff - November 19, 2009 - 09:31
Content type overview screenshot

This module adds a tab to the content types page which lets you edit the settings for all content types on one screen. This makes it much easier to ensure consistent settings across content types.

#D7CX: I pledge that Content type overview will have a full Drupal 7 release on the day that Drupal 7 is released.

Theme developer

effulgentsia - November 18, 2009 - 23:53

Firebug for Drupal themeing. See the screenshot and screencast. Note that this module injects markers into the DOM to do its magic. This may cause some themes to behave erratically and less capable browsers may make it worse (especially IE)/. Enable it when needed, and disable it afterwards. There is a handy link in the devel block to do just this.

For Drupal 6, this module was part of the Devel project. For Drupal 7, it is its own project, but relies on the Devel module as a dependency.

OG Software Projects

OG Software Projects is a bundle of configuration that adds issue tracking features to an Open Atrium project. Open Atrium comes with an issue tracking system that is based on the Case Tracker module while OG Software Projects is based on the "Project" modules.

The main reason to use Project instead of Case Tracker is that Project module is the same software used on Drupal.org. So, any improvements you make to your local Project installation can also be made on Drupal.org helping the Drupal project's infrastructure.

Developed by Black Storms Studios

Mass Content Creator

cfab - November 13, 2009 - 01:12

This module is useful for developers who want to fill the site with a content skeleton.
From a titles list and a standard body content, you can create the corresponding nodes (having choosen the adapted content type). You can set a menu to put the nodes in and a term to tag with.

This is not a content import, neither a complete fake content creator : it's a mix between this to simply create the skeleton of your site with true nodes containing a temporary content.

To come, if needed : add multiple terms, general settings (like authorized content types).

Self Destruct

usonian - November 8, 2009 - 03:38

Note: It has been brought to my attention that this module duplicates existing functionality in a couple of modules: Demo and Drupal Reset. I was unaware this capability was included in Demo, and Drupal Reset sprang up between the time I developed the module for personal use, and when I got around to adding it to contrib. Apologies for the duplicate effort; I will not be continuing development on this module and encourage you to use Demo instead.

The Self Destruct module is a developer utility for quickly emptying/resetting a Drupal site's database.

Syndicate content
 
 

Drupal is a registered trademark of Dries Buytaert.