Using Git to control a Drupal Multi-Site setup
Introduction
I've been using a multi-site setup for my Drupal sites for sometime now – it's easier to configure, maintain and manage – but I'd realised that one thing I was lacking was a decent version control system. I'd been relying on backing up to daily & weekly archive files, but this was starting to become unmanageable, with several months worth of files to deal with.
Embedding Twitter in Drupal without any additional modules
Many people are now using twitter to keep friends, clients and others updated on what they’re doing - as such we often get asked about embedding twitter information in websites when clients come to see us.
There are several modules available within Drupal such as the obviously named twitter, but sometimes this can be a bit of an overhead if you're not wanting to do any more than display tweets on a webpage. All is not lost though, as twitter information can be easily embedded in a Drupal site without requiring any additional modules.
Generating Fancy Drop Caps for Drupal
As you can see on this page, we're generating Drop Caps for the first letter in every blog page on this site.
There are two steps within the process. Firstly, we need a way to identify the first letter in the paragraph so that we can style it with CSS. If we wanted to style the first letter of every paragraph, we could simply use a CSS identified of p:first-letter but unfortunately not every browser supports this yet, and more importantly we only want to style the first letter in the first paragraph.
Helping the Drupal Gallery Module generate valid HTML
We use the Drupal Gallery module on many of our sites to integrate Menalto's Gallery into Drupal. This lets us setup photo albums, along with giving us a way to use the Gallery to manage individual images for the Drupal CMS.