Drupal 6

Installing and configuring the Image Caption module

Up until as recent as last week, whenever I added an image into one of my Blog posts, I was manually adding the caption below each image and styling it accordingly. That was until I installed the Image Caption module.

The Image Caption module uses jQuery to dynamically add captions to images. Here is a walkthrough of the process that I followed to install and configure the module. As always, I used Drush to download and enable the module, then visited the Image Caption Settings page (admin/settings/image_caption). Here, I select which node types should be included in image captioning. In my case, I only wanted this to apply to Blog posts.

Create a Better Photo Gallery in Drupal - Part 2

At the end of my last post, I'd finished creating the first part of the new photo gallery, but I wanted to change the dates of the published photos to reflect the ones on the client's original website.  

Firstly, I'll refer to the previous list of published galleries that I created before, and create something different that also displays the created and modified dates. Picking the node ID of the required gallery, I used the following SQL query to display a list of photos.

Create a Better Photo Gallery in Drupal - Part 1

Recently, I converted a client's static HTML website, along with their Coppermine Photo Gallery, into a Drupal-powered website.

Over the next few posts, I'll be replicating the process that I used during the conversion, and how I added some additional features to my Drupal gallery.

An Overview of the Teleport Module

As a heavily-reliant Quicksilver user on my MacBook Pro, I was glad when I found the Teleport module for Drupal (due to Elliott Rothman's tweet).

Quickly Adding a Taxonomy Term to Multiple Nodes using SQL

In preparation for my Blog posts being added to Drupal Planet, I needed to create a new Taxonomy term (or, in this case, tag) called 'Drupal Planet', and assign it to new content to imported into their aggregator. After taking a quick look though my previous posts, I decided that 14 of my previous posts were relevant, and thought that it would be useful to also assign these the 'Drupal Planet' tag.

I didn't want to manually open each post and add the new tag, so I decided to make the changes myself directly into the database using SQL, and as a follow-up to a previous post - Quickly Change the Content Type of Multiple Nodes using SQL.

Quickly Change the Content Type of Multiple Nodes using SQL

In this Blog post, I will be changing values within my Drupal 6 site's database to quickly change the content type of multiple nodes. I will be using a test development site with the core Blog module installed, and converting Blog posts to a custom content type called 'News article'.

Creating a Photo Gallery from Flickr using Feeds, CCK and Views

In this tutorial, I'll show you how I created my photo gallery which uses photos imported from my Flickr account.

The modules that I'll use to create the Gallery are:

10 Useful Drupal 6 Modules that I use on every Project

Aside from the obvious candidates such as Views, CCK etc, here are a list of 10 contributed modules that I currently use on each Drupal project.

So, in no particular order:

Creating a Block of Social Media Icons using CCK, Views and Nodequeue

Recent work means that I'm a bit later posting this than I originally intended...

I recently decided that I wanted to have a block displayed in a sidebar on my site containing icons and links to my social media profiles - Twitter, Facebook etc. I tried the Follow module, but it lacked the option to add extra networks such my Drupal.org account, and my RSS feed. I started to create my own version, and then found this Blog post by Hank Palan.

I created a 'Social icon' content type with the body field removed, and with fields for a link and image - then downloaded the favicons from the appropriate websites to use.

Improving Imagecache JPG quality

Whilst uploading images for my Projects and Testimonials sections, I noticed that the Imagecache-scaled images weren't as high a quality the originals on my Mac. I did some searching online and found out that, by default, Drupal resamples uploaded jpgs to 75% of their original quality.

Syndicate content