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.
Welcome to my new site
So, welcome to the new site - finally got it into a state where it can be let loose in the wild, to run free through the fields, fly though cloud-less skies - or alternatively sit in a dark corner and sulk.
As you might guess from the Drupal Icon, I'm using Drupal to run it. It's got its very own unique theme and uses several very funky modules to do all kinds of wonderful stuff in the background. I'll put some posts up in the next week or so explaining how some of it's been done (for example, an explanation of generating compliant HTML code) and you have any comments or thoughts, feel free to add them to this post below.
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.