Drupal modules and themes
Here I collect information about the modules, themes and other stuff I have developed for Drupal.
Drupal modules
Admin block
The adminblock module enables admins to display a block with the comments approval queue and the node moderation queue. Each item gets their own edit link and delete link for quick administration.
The block will only show for users with “administer nodes” privileges. If there are no comments to approve and no nodes to moderate the block will not show. Go to the Drupal project page for more information and download.
Site map
Provides a site map, a page that can act as a map of links to the site. Administrators choose what should be displays, the options are as follows.
- A message to be displayed at the top of the page
- The latest blogs.
- All books, only title.
- Any menu, including the navigation menu. It will be displayd fully expanded.
- Any categories, i.e vocabalary, with all the terms expanded. Optionally with node counts and RSS feeds.
Thickbox
The Thickbox module is a wrapper for the jQuery plugin ThickBox. Thanks to user contributions the module provides automated integration with ImageField (CCK) + ImageCache and the Image module.
From the ThickBox homepage:
“ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library. Its function is to show a single image, multiple images, inline content, iframed content, or content served through AJAX in a hybrid modal.”
Vote up/down Package
Demo site: vigillar.se
This project for Drupal 5 is an attempt to build a digg.com/reddit.com clone. It builds upon a number of other module, se below.
AJAX functionality is used for voting if the browser supports it (using jQuery included in Druapl 5). Bookmarklets are supported for quickly submitting new story links. A number of RSS feeds are available.
This is not a point and click solution. This project provide the missing pieces but you need to put them all together.
- vote_up_down.module - Provides a widget for user to vote up/down (+1/-1) for a node.
- vote_storylink.module - Provides a node type suitable for links to storys
- node-storylink.tpl.php - PHPTemplate theming of storylinks
- template.php - PHPTemplate theming of storylinks
- vote_up_down.css - Adds som css style to the above files.
- user_navigation.module - Replacement user navigation block.
- ajax_vote_up_down.js - JavaScript for AJAX functionality
You first need to install the following modules:
- Links Package http://drupal.org/project/links
- Voting API http://drupal.org/project/votingapi
To be able to automatically promote storylinks that have a specified number of votes to the front page you also need to install:
- Actions http://drupal.org/project/actions
- Voting Actions http://drupal.org/project/voting_actions
Drupal themes
Blommor01
Theme design by Masumi Hirose. A variation of this theme is used for pippi’s blog here on xdeb.org.
Slash
The Slash theme is originally from Slashcode. I found a version for PHP-Nuke that I later converted to Postnuke and now to Drupal. I would call it a retro theme, it’s certainly not modern or fancy.
The main style is dark red and there are additional styles that are, black, blue (MacSlash) and green (Slashdot). Tables are used for the three column layout, the main header and the header for nodes and boxes. For the rest CSS is used.
You see it in action here at xdeb.org.
Hiroshigeblue
This theme has no project page but you can get it directly via cvs. This is what I normally use as a base when I develop new themes for customers.
From my sandbox
Here are som simpel/special/less polished modules that I have made or modified. The Drupal version information should mostly be correct.
drupal-cvs.sh
A shell script to install and update a CVS checkout of the Drupal codebase and chosen contrib modules and themes.
profilevisitors.module
Module that display a list of the last members that have visited a users profile page. It filters out anonymous visits as well as visits by a user to his/here own page.
Payson payment for the ecommerce module
The ecommerce module is a neet e-commerce solution. This module let customers pay with Payson. It doesn’t let you track payments unfortunately.
blog_bio.module
Block that display the bloggers biography.
inline.module-fj-5
This is a hacked version of the inline.module for Drupal 5. It adds the following functions.
- Extra styles users can add to images
- Audio file (MP3) support with integrated Flash music player
- Video file support
- Images from other nodes
- Thickbox integration

