Modules

Gitting Earth Hour & Drupal

Submitted by mgifford on

We've used CVS, SVN over the years and are now using Git. If you've not a programmer you probably wouldn't be familiar with tools like Concurrent Versions System or Subversion which allow for precise sharing & collaboration between thousands of people but with over 150,000 lines of code in Drupal Core, you really need to have a way to manage these details to ensure that you've got the highest quality control possible.  Git is the latest in social coding and because if it's distributed framework it should allow many more people to evaluate, experiment & collaborate with the Drupal community.  

Git & Drupal

Knowing that Drupal was adopting Git, we made the move to adopt it, replacing many of our other repositories.  There is quite a learning curve to get it set up and integrated with our processes, but it's been very impressive thus far.  Our ability to quickly integrate around a standard tool set that allows us to both track & centralize changes for our projects is already beginning to pay off.  Configuration files, default error messages, custom modules, client themes, not to mention Drupal core and community contributed themes/modules.  

Upgrading EBMtools.org from Drupal 5 to 6

Submitted by Varun on

With Drupal 7's release around the corner, it is important to get Drupal websites away from version 5.x. To quote D.O:"Drupal 5 will no longer be maintained when Drupal 7 is released." Earlier this year, I moved ebmtools.org from their Drupal 5 install to use the more powerful and secure Drupal 6 version.

The Ecosystem-Based Management (EBM)tools network uses Drupal to connect and inform researchers, users, and providers through their website. In their own words, EBMtools promotes

The "CLUMPS" module

Submitted by jesse on

Clumps is a module that I have just written and will eventually be releasing. Its currently about 90% finished. The name was hastily chosen from a google search for a synonym to section. It is also still up for debate so feel free to comment if you can think of a good name.

All relatively good ideas start with a relatively complex, or annoying, problem.

Protagonist:

A site was required that split off into two separate sides with different paths say /sideone and /sidetwo. Most content is to be different, but some should be shared including menus and menu items. Doesn't sound like a very complicated problem does it? The content that is different will obviously be easy in that you can set the url aliases to /sideone/page1, /sidetwo/page2, etc.

Problem:

The complicated part comes when you consider how to maintain that context separation of which side you are on for the shared content. In this case the shared content had to be prefixed with the /sideone or /sidetwo. Regardless, there are a couple tricky problems here:

  1. how do you know which side of the site you were working on once you've gone to one of the shared pages?
  2. For that matter how do you have a menu display only the relevant items for a particular side as well as the shared items?
  3. How do you have the shared menu item knowledgeable about the context of which side of the site you are on?

Using SimpleTest in Drupal 5

Submitted by Pawel on

I have been writing a unit test for the connect module using the simpleTest module. The following is a discussion of my experiences. This article from Lullabot is what I mainly used as a reference. Note that if you are following this article be sure to read the comments at the bottom. Especially that hook_simpletest is not required.

Installing SimpleTest

In Drupal 5 simpleTest uses a PHP library for its testing. In later versions of Drupal this library is not used. Once you have finished downloading the simpleTest module read the INSTALL.txt file. The only extra step to configuring this module is to download the simpleTest PHP library and placing it in the ...all/modules/simpletest/simpletest directory.

Using SimpleTest in Drupal 6

Submitted by Pawel on

General links

Introducing the "Node Form Rearrange" module

Submitted by ethan on

Project Page: http://drupal.org/project/node_form_rearrange

Recently I've been working on a project that requires the taxonomy selection to be better integrated with rest of the input fields in a node creation/edit form. Normally, for node types with more than one associated vocabulary, a fieldset called 'categories' or 'vocabularies' is drawn up containing each of the vocabulary's selection form element:

Release Announcement - Drupal Connect Module

Submitted by mgifford on

We're super excited to announce the release of Steve's new Drupal module - Connect. Connect glues together two CCK node-types so that they are related to each other. Big deal you you say, but it is! Not just because it's our brain-child, but because it marries two pressing needs of our clients - effective take action tools and flexible event registration systems. But we developed this initially for an advocacy tool we were developing or a client, The Council of Canadians, so let's start there.

Pages

Subscribe to Modules