When putting a lot of work into a Drupal site, it’s nice to add some minor touches to give the project a more professional feel. In some ways, you are selling the quality of your customizations to the client, you boss, and other developers.

Module .info

The first example is for the Modules page. When I visit this page I like the custom modules to be clearly displayed in a package above the other modules, which gives them a quality of importance. To achieve this we exploit the fact that Drupal will sort the modules page by package, forcing a space at the start of the package name. Here is the .info file:

name = emspace.com.au Code
description = General code for functioning of emspace.com.au
package = " Em Space"
core = 6.x

Theme .info

The same goes for theme. This is especially true for a codebase that has a lot of contrib themes on hand.

name = " Em Space Orange"
description = Administration theme
core = 6.x
engine = phptemplate
base theme = emspace2010

Going further…

It is also possible to add HTML to the “name”, “package” and other .info values. So if you really want, you can jazz up your module listing with a marquee tag, or an icon in place of the “version” number.