Miles Per Hour

programming at the speed of 1011000.

May

6

My First Drupal Module

By mike@mike-miles.com

Recently while working on a drupal website for a client, I needed to build in some custom functionality.  For drupal this is’nt an issue, basically anything you need to do has been done before and you can find a module in the module directory.

But after searching I was unable to find a module that did what I wanted, so I had to develope one (Which for a nerd like me was really fun).  It took me a day or two to build, and refine but I built a module that I was happy with.

The great thing about Drupal is that it’s all open source, and anything built for drupal is covered under the GNU license. Drupal thrives on user submitted content and projects, so I decided I would submit my module to give back to the community.  Submitting a module is a bit of a process, you need to submit a proposal, get approved, create an account and create a project page.  The Drupal moderators must of liked my module thou, because it was approved!

So I now have my first (hopefully of many) official Drupal module available for download on the Drupal website.

Now for the good part, here is all the info on the module:

Callouts

Callouts creates a way to display multiple blocks that are related by taxonomy terms. After you place the module into a region on your site, when a user goes to a page any callout blocks (callout is a new content type) with the same taxonomy terms as that page will be displayed in the region.

This Module is great if your looking to show related products in an e-commerence environment, or announcements depending on what page of the site your users are on.

You can downlaod the module for your drupal installation at http://drupal.org/project/callouts

Bookmark and Share

Comments are closed.