Drupal 4.7

Classified ads module for Drupal 4.7 and Drupal 5 available on Drupal.org

I've committed the classified ads module to the Drupal.org CVS - it's now available for download as an official release package.

You can find the official project page (and the official downloads) at http://drupal.org/project/ed_classified.

Posted by: Mike on Thu, 02/22/2007 at 9:24pm

MyBlogLog for Drupal 4.7

I've created a simple MyBlogLog module for Drupal 4.7. This module provides the following features:

  • Inserts the MyBlogLog tracking javascript into generated pages - no need to hand-edit your template's page.tpl.php file, or manually create a block to inject the tracking javascript.
  • Provides the "Recent Reader" widget block
    (includes configuration options - color, width, # rows, etc.)

  • Disable visitor tracking for Administrators and other users on a per-role basis (prevent skewed stats due to admin or other roles' visits.)


... and moreread more »

Posted by: Mike on Sat, 01/06/2007 at 2:57pm

Customize Drupal's 'read more' teaser link placement (Drupal 4.7 or Drupal 5)

Here's a standalone module to provide the customization described at AngryDonuts.com. You can see it in use on this site.read more »

Posted by: Mike on Wed, 12/13/2006 at 1:58pm

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.read more »

Posted by: Mike on Sun, 11/19/2006 at 8:47am

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:

http://drupal.org/node/65125#comment-106269read more »

Posted by: Mike on Wed, 11/01/2006 at 7:59pm

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!

December 13, 2006 Update I've created a drop-in Drupal module (ed_readmore.module) that implements this handy feature and adds some admin settings to enable/disable, and control placement. Read more about ed_readmore.module.read more »

Posted by: Mike on Tue, 10/31/2006 at 7:38am

Why can't A Drupal user edit a node they created?

Why can't a Drupal user edit a node they created?

Symptoms: An authorized Drupal user loses "edit" access to nodes they've created, even if they have appropriate node (or other module) access permissions. Or, user cannot edit a node that should be editable by them, based on access control or node access settings. No errors or warnings appear in the Drupal log.

Possible Cause: The user does not have permission to use the input filter assigned to the node. (Input filter permissions may have been changed since the node was created. As a result, the user never had, or no longer has permission to use the input filter associated with the node.)

This excerpt from Drupal node.module node_access() function tells the tale:read more »

Posted by: Mike on Fri, 10/27/2006 at 12:17pm

Drupal 4.7 Site and Database Backups

How do I keep my Drupal 4.7 site(s) backed up?

There are several modules to help you:

  • backup.module Creates an on-demand tarball backup of your database and site files, and downloads them to your browser.
  • Database Administration module Allows interactive backup of database tables (among other things.)

Another approach is to build a shell script that dumps your database tables and site files into a gzipped tar file on a regular schedule, and set up a unix/linux cron job. (Or, if you are Windows-bound, and have control of the task scheduler and other appropriate permissions, you can schedule a batch file to do the same thing, asssuming all the necessary command line utilities are available to you on the Windows machine. YMMV.)read more »

Posted by: Mike on Fri, 10/20/2006 at 7:15pm

Simple classified ads module for Drupal 4.7 and Drupal 5

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.

Drupal 6 Version information

I am planning a Drupal 6 port of this module. The project is very low on my priority list at this time, however, so if you are interested in helping with this, please contact me. -- 5/14/2008

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.read more »

Posted by: Mike on Fri, 10/20/2006 at 3:47pm

Multi-site compatible apache rewrite rules

When using multi-site configurations in Drupal 4.7, and you want to use URL rewriting in .htaccess to force 'www.' or non-'www.' subdomain access, the rewrite rules used in the standard .htaccess file may be problematic.


# If you want the site to be accessed WITH the www. only, adapt and uncomment the following:
# RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC]
# RewriteRule .* http://www.example.com/ [L,R=301]

#
# If you want the site to be accessed only WITHOUT the www. , adapt and uncomment the following:
# RewriteCond %{HTTP_HOST} !^example\.com$ [NC]read more »

Posted by: Mike on Tue, 10/17/2006 at 11:19pm
Syndicate content