Development

Creating your own personal bookmark site like Delicious in Drupal 7

This guide will show you how to make a bookmarking site similar to Delicious where you can add a URL with an optional description and tags which can then be searched on using the internal search or browse using tags.

Creating a comma separated list of taxonomy terms for a node

The following code snippet will provide a comma separated list of taxonomy terms for a given node.

Use panels to override the node output in Drupal 7

When creating an image gallery in Drupal using CCK/Fields the resulting output is just a string of divs resulting in a single column of images. This tutorial will show you how to use Views and Panels to override the standard node output to display the images of the gallery in a grid.

result.jpg

Create an album based image gallery in Drupal 7 using fields and views

This is a follow up tutorial on the popular Create an album based image gallery in Drupal 6 using CCK and views but for Drupal 7. The tutorial will assume that you have Drupal 7 already installed and ready for use. The following contrib modules are required:

I personally prefer Colorbox to some of the other lightbox modules, but feel free to use whichever one you want, they should all work in the same way. An alternative can be found in Shadowbox. Lightbox2 doesn't have a D7 release at the time of writing and Thickbox has been discontinued, with the maintainer now working on Colorbox.

Getting a random Wikipedia article using PHP + cURL

The following code gets a completely random page from Wikipedia and returns some HTML code with a link to the article. Visiting http://en.wikipedia.org/wiki/Special:Random in your browser will automatically redirect to a random article and the code takes in to account the redirect and gives you the information on the last page in the redirect.

Creating markers with info windows using Google Maps Javascript API v3

Not too much has changed from V2 to V3, but one major frustration was when using the 'click' event on a marker to open an info window, it didn't close when clicking another marker like it did on V2, as such you could potentially have a screen filled with lots of info windows.

Configuring the AddThis module for Drupal

It wasn't immediately obvious to me how to configure the AddThis module's toolbox feature using the AddThis Drupal module. The toolbox is the set of larger icons rather than the pill shaped "share" button.

After installing AddThis, go to Site configuration > AddThis > Configure (admin/settings/addthis/config). Under Widget type, select Toolbox.

World of Warcraft blocks for Drupal 7

I have updated the World of Warcraft blocks which utilizes the Block API for Drupal 7.

I haven't tried it, but it should work as the hooks have all been updated for D7 version of Block API.

You can download the file from here.

Blog updated from Wordpress 3 to Drupal 6 resulting in a speed increase

I have upgraded the blog from running Wordpress 3 with the Akismet and WP Super Cache plugins to Drupal 6. Quite surprisingly, it was very simple.

I wasn't doing anything special with Wordpress which made the transfer of data over to Drupal fairly easy. The Wordress Import module does all the hard work and imports all posts/pages from Wordpress from an XML export you can do from the Wordpress dashboard. Wordpress Import handles taxonomy and users too. Images with working links were copied over without fuss.

World of Warcraft Progression blocks updated for Wordpress and Drupal

With the release of World of Warcraft: Cataclysm, there are new zones and new bosses, so I have updated the progression module for Drupal and Wordpress.

Module/plugin details

Pages

Subscribe to Development