Drupal

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.

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'.

Create a Slideshow of Multiple Images using the Fancy Slide module

Whilst updating my About page, I thought about creating a slideshow of several images instead of just the one static image. When I looking on Drupal.org, the only slideshow modules were to create slideshows of images that were attached to different nodes - not multiple images attached to one node. Then, I found the Fancy Slide module. It's a jQuery Slideshow module with features that include integration with the CCK, ImageCache and Nodequeue modules.

Keyword Link Module

Following on from previous Blog posts about Automatic Node References and the Node Picker Module, I have now found the Keyword Link module!

Quickly Create Zen Subthemes Using the Zenophile Module

If you use the Zen theme, then you should also be using the Zenophile module!

The Zenophile module allows you to very quickly create Zen subthemes from within your web browser, as well as editing options such as the site directory where it should be placed, the layout type (fixed or fluid), page wrapper and sidebar widths, and the placement of the sidebars.

Conditional Email Addresses in a Webform

Whilst doing some additional work on the Costley & Partners website, I created an advanced 'Contact Us' form using the Webform module. However, as well as the additional fields that I'd created, I also wanted a drop-down menu where the user could choose either 'General enquiry' or 'Website feedback', and for the message to be send to the associated email address - the same as the feature is available in Drupal's core Contact module.

Using ImageCache and ImageCrop for my Portfolio

Whilst working on my own portfolio/testimonial website, I decided to have a portfolio page displaying the name of each site and a thumbnail image. For this Blog post, I'll be using a site called Popcorn Strips which I built for a friend earlier this year as an example.

Syndicate content