drupal

Bulk tagging existing content in Drupal with Views Tagger

If you have your own Drupal site for a while, and you want to add or update the tags of your content, you have to edit every single node and update the tags by hand. This is a rather tedious job.

Fortunately you don't have to hack the Drupal database to tag your content en masse: the Views Tagger module leverages the Views module and provides a dedicated view to tag all your nodes at once.

Drupal theme hacking - the basics

So you have this Drupal theme project you're working on, and you wonder where to start. This blog post tries to assist you in this endeavor. It assumes you're working with the default template engine: PHPTemplate.

First, let's zoom into how Drupal processes a theme. Most theme related information is stored in files in the theme directory. Usually, the my_theme theme files will reside in sites/all/themes/my_theme. An overview of typical files you will encounter in the theme directory:

Mashing up Drupal themes Colourise and Acquia Slate

Today I started mashing up the Acquia Slate theme with the Colourise theme and managed to port the Acquia slate implementation of taxonomy terms into Colourise. In addition I implemented a configurable theme registry rebuild flag and added a configurable taxonomy term separator into the theme:

Do you like the new layout?

As you may have seen in the past few weeks I have been trying out new layouts for my website. I moved from the Acquia Slate theme to the Colourise theme and customised it a bit.

Personally I'm starting to like this layout, I even tried to create some artwork Laughing

7 Must-have Drupal 6 admin modules

Drupal has literally hundreds of plugins (modules and themes) to choose from. After having set up quite some Drupal environments I start to find a couple Drupal administration modules particularly useful. Most are lightweight, and all are quite useful:

Regular site maintenance is done

After a way too long hiatus (which was mainly due to a remodeling job that took longer and became more extensive than anticipated) I finally took the time to update the website engine (Drupal and assorted extra modules) to the most recent version. This should make it less vulnerable to external threats. Fortunately most spammers are already caught by Mollom, although I had to handle 2 uncaught spam comments in the past week.

Mollom - Software as a Service to fight Web Spam

Opening up a public website to allow people to comment is a risky endeavor nowadays. Vandalism and ‘blog spam’ can be very labor intensive to cure after an attack. Fortunately there are a couple products and services that help in fighting this Digital Evil through machine parsing.

Looking for a Drupal module?

One of Drupal's key success factors certainly is its huge collection of modules. However, the sheer number of developed modules does not ease your search for extra functionality. In addition, sometimes the same functionality is provided by more than one module. Probably you'll like DrupalModules.com: on this site you can conveniently search for modules, restrict your search to a specific Drupal major release, choose between similar modules based on reviews...

Running Drupal without cron

Although many hosting providers now offer hosting packages with PHP and MySQL, most do not offer cron functionality, i.e. the possibility to schedule tasks. The simplest way to set up these scheduled tasks within Drupal is by means of the Poor Man's cron Drupal module. Once installed it will check whether cron must be run whenever your Drupal site is visited.

Hide primary links in Drupal

Some Drupal themes provide their own menu system instead of Drupal's built-in primary links menu. When enabling these fancy menus, your Drupal site may end up with two menu systems instead of one. In order to get rid of the primary links menu, you need to disable it:

  1. Log in with “administer menu” privileges.
  2. Navigate to to administer » settings » menus (admin/settings/menu) and set ‘Menu containing primary links:’ to ‘No primary links’. Repeat for the secondary links.
Syndicate content