CMS
Browse our site by category or tag.
CMS
- Better taxonomy term selection in Drupal-
This page on drupal.org shows how to use checkboxes and option boxes instead of the drop-down selectors for taxonomy terms when submitting content.
- 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.
- 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] - 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.
Background
My classified module creates a new node type ('ed_classified') and associates an expiration timestamp 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. - 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.)
- 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: - 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.
- 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-106269 - 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.
- Insert AdSense Ads Automatically in Drupal Nodes and Teaser Lists-
Here's a useful Drupal module that tweaks a node's body or teaser to insert an inline AdSense ad, when a node is rendered on a full page or teaser list.
This allows site administrators to enable automatic insertion of an AdSense ad into the page without the content editor having to insert inline [adense] filter tags, or having to edit a site's template.php (or other template files.) This offers a big advantage, as you can change the ad format, group, and channel on the fly without hand-editing each node (which is the only way I can think of doing it if you are using inline filters). Another advantage is that you can enable/disable the inserted AdSense with just a click of the mouse - no need to edit each node.
- 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.
- 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 more


Recent comments
3 hours 30 min ago
5 days 7 hours ago
1 week 10 hours ago
1 week 1 day ago
1 week 5 days ago
2 weeks 1 day ago
2 weeks 3 days ago
2 weeks 3 days ago
2 weeks 5 days ago
4 weeks 2 days ago