Harden Your Drupal Websites
A great tutorial that I found a few weeks ago that describes how to harden your Apache and Drupal configurations, and contains some great security-related points.
A great tutorial that I found a few weeks ago that describes how to harden your Apache and Drupal configurations, and contains some great security-related points.
Rather than have to search through Google whenever I need to find the original article, I thought that I'd post it here for my own reference.
local$ ssh-keygen -t dsa
local$ scp ~/.ssh/id_dsa.pub remote:~/
local$ ssh username@remote
remote$ cat ~/id_dsa.pub >> ~/.ssh/authorized_keys
remote$ chmod 644 ~/.ssh/authorized_keysAs the vast majority of the Drupal websites that I currently work on are built on Drupal 7, I thought that it was time that I upgraded this site. Following the core upgrade process and the CCK migration process, everything was upgraded smoothly without any issues.
Recently, I needed to set up a Subversion (SVN) server on a Ubuntu Linux server. This post is going to outline the steps taken, and the commands used, to install and configure the service.
Note: As I was using Ubuntu, I was using the 'apt-get' command to download and install the software packages. If you're using a different distribution of Linux, then this command may be different. I'm also assuming that Apache is already installed.
Firstly, I'm going to ensure that all of my installed packages are up to date, and install any available updates.
One of my favourite things lately in Drupal 6 has been CCK 3, and more specifically, the Content Multigroups sub-module. Basically this allows you to create a fieldset of various CCK fields, and then repeat that multiple times. For example, I use it on this site whist creating invoices for clients. I have a fieldset called 'Line Item', containing 'Description', 'Quantity' and 'Price' fields. With a standard fieldset, I could only have one instance of each field - however, using a multigroup, I can create multiple groups of line items which I then use within the invoice.
I've finally uploaded my first module onto Drupal.org!
Proctor & Stevenson are going to be hosting the next Bristol & South West Drupal meetup on the 25th May at our offices. You can view more details here, or register via the form on the Proctors website.

2 weeks ago, I handed in my notice of resignation to Horse & Country TV because I've been offered a new role at Proctor & Stevenson - a Marketing Design and Communications agency in Bristol.
One year ago today, I added my first blog post onto this website. Since then, I've added a total of 34 posts and received 9,947 visits, as well as adding my website development portfolio and testimonials.
Many thanks to everyone who's readed and commented on my blog posts during the last 12 months. Hopefully, this time next year, I'll be reporting back with some even better figures.
Replace the $page_id value with your Page ID number (unless you want to show the number of fans for this site).You can find your Page ID by logging into your Facebook account, going to 'Adverts and Pages', clicking 'Edit page', and looking at the URL.
For example, mine is https://www.facebook.com/pages/edit/?id=143394365692197&sk=basic.
I've also wrapped the output in a number_format() function so that it properly formatted with commas etc - like where I've used it within the Gold Event listing on the Horse & Country TV website.