Skip to main content

Drupal Modules

Drupal adsense_injector.module download (and source code)

News flash:

Now hosted on Drupal.org CVS/Project repository.
Please visit the Drupal.org project page for latest releases, bug/issue reports, etc.

Now hosted on Drupal.org CVS/Project repository.
Please visit the Drupal.org project page for latest releases, bug/issue reports, etc.

User notification module

I've been working on a user notifications module (and underlying API module) for Drupal.

This is initially needed for for use with my classified ads module but it can be used by any module that needs a well-defined method of alerting users to various events.

Using Event module with jscalendar (jstools)

When using event.module with JSCalendar (part of jstools module), you might experience problems with event times being stored incorrectly. This appears to be due to an obscure configuration requirement when using JSCalendar - apparently, the event module must be configured to use 12 hour format. (This one bit me in the behind today, so I thought I'd jot this down somewhere...)

Be sure to set event.module time notation to 12 hour format:
administer >> settings >> event >> "Time Notation Preference" = 12h

Related info:

Placing "read more" inline with teaser - AngryDonuts.com

This posting on angrydonuts.com (merlinofchaos' excellent site) shows how to customize the placement of the 'read more' link on your site. Most excellent!

Location, gmap, and gmap_location module interactions

If you want nodes to appear on a google map provided by the gmap_location module, you need to set up your system correctly.

from gmap_location function gmap_location_node_page() :

  $result=db_query("SELECT oid, longitude, latitude FROM {location} WHERE (longitude!=0 OR latitude !=0) AND type='node'");

So, the only nodes that will appear in a gmap_location-provided map are those where the type is 'node' and the longitude or latitude are non-zero in the location table. Ok, how do we get a lat/long value in that table?

Drupal 4.7 directory module resurrection

I've been granted maintainer status for the orphaned Directory module. (The project page is new; previously there was no project page on drupal.org for this module.)

I've checked in a few fixes/improvements - please visit the project home page or the module documentation for the latest information.

View fully-functional live demos at: RoadCarvin.com, amadorable.com or bunnytrade.com (all running Drupal 4.7 and latest stable version of this module.)

Simple classified ads module for Drupal 4.7 and Drupal 5

Status Update: 7/1/2009

The Classified Ads module now has a new maintainer. I'm no longer actively maintaining the module. Questions, comments, and support requests should be directed to the module issue queue.

I've created a simple classified ads module for Drupal 4.7 and Drupal 5. It is now in use on a large number of Drupal-based sites.

Background

My classified module creates a new node type ('ed_classified') and associates an expiration time stamp with all nodes of that type. Borrowing from the image.module image gallery scheme, it creates and associates a custom taxonomy with the classified ads. Site administrators then need to create child taxonomy terms for each classified ad category. As with any Drupal taxonomy, ad categories may be nested to arbitrary depth.

Syndicate content