This commit is contained in:
Oliver Davies 2017-07-11 18:57:51 +01:00
parent 0692d8ff00
commit 47e2ffcfda
247 changed files with 409 additions and 383 deletions

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Quickly Create Zen Subthemes Using Zenophile</h2>
<p class="posted">10th May 2010</p>
<p class="posted text-light">10th May 2010</p>
<p>If you use the Zen theme, then you should also be using the Zenophile module!
@ -100,7 +100,7 @@ The Zenophile module allows you to very quickly create Zen subthemes from within
<li class="post">
<h2>Conditional Email Addresses in a Webform</h2>
<p class="posted">6th May 2010</p>
<p class="posted text-light">6th May 2010</p>
<p>I created a new Webform to serve as a simple Contact form, but left the main configuration until after I created the form components. I added &#039;Name&#039;, &#039;Email&#039;, &#039;Subject&#039; and &#039;Message&#039; fields, as well as a &#039;Category&#039; select list. Below &#039;Options&#039;, I entered each of my desired options in the &hellip;</p>
@ -110,7 +110,7 @@ The Zenophile module allows you to very quickly create Zen subthemes from within
<li class="post">
<h2>Using ImageCache and ImageCrop for my Portfolio</h2>
<p class="posted">28th April 2010</p>
<p class="posted text-light">28th April 2010</p>
<p>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&#039;ll be using a site called Popcorn Strips which I built for a friend earlier this year as an example.
@ -122,7 +122,7 @@ I created a &hellip;</p>
<li class="post">
<h2>Style Drupal 6&#039;s Taxonomy Lists with PHP, CSS and jQuery</h2>
<p class="posted">5th April 2010</p>
<p class="posted text-light">5th April 2010</p>
<p>Whilst developing this, and other Drupal websites for clients, I decided that I wanted to categorise content using the taxonomy system. However, I wasn&#039;t happy with the way that Drupal displayed the terms lists by default, and I started comparing this to other websites that I look at.

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Announcing the Drupal VM Generator</h2>
<p class="posted">15th February 2016</p>
<p class="posted text-light">15th February 2016</p>
<p>For the past few weeks Ive been working on a personal side project, based on Drupal VM. Its called the <a href="https://github.com/opdavies/drupal-vm-generator">Drupal VM Generator</a>, and over the weekend Ive added the final features and fixed the remaining issues, and tagged the 1.0.0 release.</p>
@ -99,7 +99,7 @@
<li class="post">
<h2>Programmatically Load an Entityform in Drupal 7</h2>
<p class="posted">22nd December 2015</p>
<p class="posted text-light">22nd December 2015</p>
<p>I recently had my first experience using the <a href="https://www.drupal.org/project/entityform">Entityform module</a> in a project. It was quite easy to configure with different form types, but then I needed to embed the form into an overlay. I was expecting to use the <code>drupal_get_form()</code> function and render it, but this didnt work.</p>
@ -112,7 +112,7 @@
<li class="post">
<h2>Automating Sculpin Builds with Jenkins CI</h2>
<p class="posted">21st July 2015</p>
<p class="posted text-light">21st July 2015</p>
<p>As part of re-building this site with Sculpin, I wanted to automate the deployments, as in I wouldn&#039;t need to run a script like publish.sh locally and have that deploy my code onto my server. Not only did that mean that my local workflow was simpler (update, commit and push, &hellip;</p>
@ -122,7 +122,7 @@
<li class="post">
<h2>Sculpin and Twig Resources</h2>
<p class="posted">19th July 2015</p>
<p class="posted text-light">19th July 2015</p>
<p>Heres a list of resources that I compiled whilst preparing for my <a href="http://drupalcampnorth.org/session/test-drive-twig-sculpin">Sculpin and Twig talk</a> at <a href="http://drupalcampnorth.org">DrupalCamp North</a>.</p>
@ -133,7 +133,7 @@
<li class="post">
<h2>Updating Forked Repositories on GitHub</h2>
<p class="posted">18th June 2015</p>
<p class="posted text-light">18th June 2015</p>
<p>Sculpin
@ -145,7 +145,7 @@ People may or may not know, but this site runs on Sculpin, a PHP based static si
<li class="post">
<h2>How to Define a Minimum Drupal Core Version</h2>
<p class="posted">3rd April 2015</p>
<p class="posted text-light">3rd April 2015</p>
<p>This week, my first code patch was committed to Drupal core. The patch adds the user_has_role() function to the user module, to simplify the way to check whether a user in Drupal has been assigned a specific role. This is something that I normally write a custom function for each &hellip;</p>
@ -155,7 +155,7 @@ People may or may not know, but this site runs on Sculpin, a PHP based static si
<li class="post">
<h2>2014</h2>
<p class="posted">20th March 2015</p>
<p class="posted text-light">20th March 2015</p>
<p>A lot happened in 2014. Here are some of the main things that I'd like to highlight.</p>
@ -166,7 +166,7 @@ People may or may not know, but this site runs on Sculpin, a PHP based static si
<li class="post">
<h2>Configuring the Reroute Email Module</h2>
<p class="posted">22nd December 2014</p>
<p class="posted text-light">22nd December 2014</p>
<p><a href="https://www.drupal.org/project/reroute_email">Reroute Email</a> module uses <code>hook_mail_alter()</code> to prevent emails from being sent to users from non-production sites. It allows you to enter one or more email addresses that will receive the emails instead of delivering them to the original user.</p>
@ -177,7 +177,7 @@ People may or may not know, but this site runs on Sculpin, a PHP based static si
<li class="post">
<h2>Include a Local Drupal Settings file for Environment Configuration and Overrides</h2>
<p class="posted">20th December 2014</p>
<p class="posted text-light">20th December 2014</p>
<p>How to create and include a local settings file to define and override environment-specific variables, and keep sensitive things like your database credentials and API keys safe.</p>
@ -188,7 +188,7 @@ People may or may not know, but this site runs on Sculpin, a PHP based static si
<li class="post">
<h2>Include environment-specific settings files on Pantheon</h2>
<p class="posted">27th November 2014</p>
<p class="posted text-light">27th November 2014</p>
<p>I was recently doing some work on a site hosted on <a href="http://getpantheon.com">Pantheon</a> and came across an issue, for which part of the suggested fix was to ensure that the <code>$base_url</code> variable was explicitly defined within settings.php (this is also best practice on all Drupal sites).</p>

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Using Remote Files when Developing Locally with Stage File Proxy Module</h2>
<p class="posted">20th November 2014</p>
<p class="posted text-light">20th November 2014</p>
<p>How to install and configure the <a href="https://www.drupal.org/project/stage_file_proxy">Stage File Proxy</a> module to serve remote images on your local Drupal site.</p>
@ -99,7 +99,7 @@
<li class="post">
<h2>Include CSS Fonts by Using a SASS each Loop</h2>
<p class="posted">18th November 2014</p>
<p class="posted text-light">18th November 2014</p>
<p>How to use an @each loop in SASS to quickly include multiple font files within your stylesheet.</p>
@ -110,7 +110,7 @@
<li class="post">
<h2>Updating Features and Adding Components Using Drush</h2>
<p class="posted">21st October 2014</p>
<p class="posted text-light">21st October 2014</p>
<p>If you use the <a href="http://drupal.org/project/features">Features module</a> to manage your Drupal configuration, it can be time consuming to update features through the UI, especially if you are working on a remote server and need to keep downloading and uploading files.</p>
@ -123,7 +123,7 @@
<li class="post">
<h2>How to fix Vagrant Loading the Wrong Virtual Machine</h2>
<p class="posted">6th October 2014</p>
<p class="posted text-light">6th October 2014</p>
<p>A few times recently, I've had instances where <a href="https://www.vagrantup.com">Vagrant</a> seems to have forgotten which virtual machine it's supposed to load, probably due to renaming a project directory or the .vagrant directory being moved accidentally.</p>
@ -136,7 +136,7 @@
<li class="post">
<h2>drush make drupalbristol</h2>
<p class="posted">2nd July 2014</p>
<p class="posted text-light">2nd July 2014</p>
<p>Here are my slides from this month's talk night at the <a href="https://groups.drupal.org/bristol-and-west-uk">Drupal Bristol user group</a>.</p>
@ -147,7 +147,7 @@
<li class="post">
<h2>git format-patch is your Friend</h2>
<p class="posted">21st May 2014</p>
<p class="posted text-light">21st May 2014</p>
<p>An explanation of the "git format-patch" command, and how it could be used in Drupal's Git workflow.</p>
@ -158,7 +158,7 @@
<li class="post">
<h2>Thanks</h2>
<p class="posted">6th May 2014</p>
<p class="posted text-light">6th May 2014</p>
<p>This is just a quick post to thank everyone for their comments and congratulations after my previous post about <a href="/blog/drupal-association/">joining the Drupal Association</a>. Im looking forward to my first day in the job tomorrow.</p>
@ -169,7 +169,7 @@
<li class="post">
<h2>Drupal Association</h2>
<p class="posted">3rd May 2014</p>
<p class="posted text-light">3rd May 2014</p>
<p>Today was my last day working at <a href="http://www.precedent.com">Precedent</a>. Next week, I'll be starting my <a href="https://assoc.drupal.org/node/18923" title="Drupal.org Developer">new job</a> at the <a href="http://assoc.drupal.org">Drupal Association</a> working on Drupal's home - <a href="http://www.drupal.org">Drupal.org</a>.</p>
@ -180,7 +180,7 @@
<li class="post">
<h2>DrupalCamp London: What is Git Flow?</h2>
<p class="posted">3rd March 2014</p>
<p class="posted text-light">3rd March 2014</p>
<p>Here are my slides from my "What is Git Flow?" session at <a href="http://2014.drupalcamplondon.co.uk">DrupalCamp London</a>.</p>
@ -191,7 +191,7 @@
<li class="post">
<h2>DrupalCamp London 2014</h2>
<p class="posted">9th February 2014</p>
<p class="posted text-light">9th February 2014</p>
<p>It's all booked, I'm going to be attending <a href="http://2014.drupalcamplondon.co.uk">DrupalCamp London</a> this year, my first DrupalCamp!</p>

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Some Useful Git Aliases</h2>
<p class="posted">15th January 2014</p>
<p class="posted text-light">15th January 2014</p>
<p>Here are some bash aliases that I use and find helpful for quickly writing Git and Git Flow commands.</p>
@ -99,7 +99,7 @@
<li class="post">
<h2>Download Different Versions of Drupal with Drush</h2>
<p class="posted">31st December 2013</p>
<p class="posted text-light">31st December 2013</p>
<p>If you use <a href="https://raw.github.com/drush-ops/drush/master/README.md" title="About Drush">Drush</a>, it's likely that you've used the <code>drush pm-download</code> (or <code>drush dl</code> for short) command to start a new project. This command downloads projects from Drupal.org, but if you don't specify a project or type "drush dl drupal", the command will download the current stable version of Drupal core. Currently, this will be Drupal 7 with that being the current stable version of core at the time of writing this post.</p>
@ -112,7 +112,7 @@
<li class="post">
<h2>Quickly Apply Patches Using Git and curl or wget</h2>
<p class="posted">24th December 2013</p>
<p class="posted text-light">24th December 2013</p>
<p>Testing a patch file is usually a two-step process. First you download the patch file from the source, and then you run a separate command to apply it.</p>
@ -125,7 +125,7 @@
<li class="post">
<h2>Useful Vagrant Commands</h2>
<p class="posted">27th November 2013</p>
<p class="posted text-light">27th November 2013</p>
<p><a href="http://www.vagrantup.com" title="About Vagrant">Vagrant</a> is a tool for managing virtual machines within <a href="https://www.virtualbox.org">VirtualBox</a> from the command line. Here are some useful commands to know when using Vagrant.</p>
@ -136,7 +136,7 @@
<li class="post">
<h2>Don&#039;t Bootstrap Drupal, Use Drush</h2>
<p class="posted">19th November 2013</p>
<p class="posted text-light">19th November 2013</p>
<p>There are times when doing Drupal development when you need to run a custom PHP script, maybe moving data from one field to another, that doesn't warrant the time and effort to create a custom module. In this scenario, it would be quicker to write a .php script and bootstrap Drupal to gain access to functions like <code>node_load()</code> and <code>db_query()</code>.</p>
@ -149,7 +149,7 @@
<li class="post">
<h2>Create a Zen Sub-theme Using Drush</h2>
<p class="posted">6th September 2013</p>
<p class="posted text-light">6th September 2013</p>
<p>How to use <a href="https://drupal.org/project/drush">Drush</a> to quickly build a new sub-theme of <a href="https://drupal.org/project/zen">Zen</a>.</p>
@ -160,7 +160,7 @@
<li class="post">
<h2>Going to DrupalCon</h2>
<p class="posted">26th July 2013</p>
<p class="posted text-light">26th July 2013</p>
<p><a href="http://www.precedent.co.uk">Precedent</a> are sending myself and two of our other Drupal Developers to <a href="http://prague2013.drupal.org">Drupalcon Prague</a>.</p>
@ -171,7 +171,7 @@
<li class="post">
<h2>Creating Local and Staging sites with Drupal&#039;s Domain Module Enabled</h2>
<p class="posted">17th July 2013</p>
<p class="posted text-light">17th July 2013</p>
<p>The <a href="https://drupal.org/project/domain" title="The Domain Access project on Drupal.org">Domain Access project</a> is a suite of modules that provide tools for running a group of affiliated sites from one Drupal installation and a single shared database. The issue is that the domains are stored within the database so these are copied across when the data is migrated between environments, whereas the domains are obviously going to change.</p>
@ -184,7 +184,7 @@
<li class="post">
<h2>Some useful links for using SimpleTest in Drupal</h2>
<p class="posted">13th June 2013</p>
<p class="posted text-light">13th June 2013</p>
<p>Here are some useful links that I've found when researching about unit testing in Drupal using SimpleTest.</p>
@ -195,7 +195,7 @@
<li class="post">
<h2>Display Git Branch or Tag Names in your Bash Prompt</h2>
<p class="posted">27th April 2013</p>
<p class="posted text-light">27th April 2013</p>
<p>Whilst watching <a href="http://drupalize.me" title="Drupalize.me">Drupalize.me</a>'s recent <a href="http://drupalize.me/series/introduction-git-series" title="Introduction to Git on Drupalize.me">Introduction to Git series</a>, I thought it was useful the way that the current Git branch or tag name was displayed in the bash prompt. Here's how to do it.</p>

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Leaving Nomensa, Joining Precedent</h2>
<p class="posted">20th April 2013</p>
<p class="posted text-light">20th April 2013</p>
<p>Yesterday was my last day working at <a href="http://www.nomensa.com" title="Nomensa">Nomensa</a>. Next week, I'll be starting as a Senior Developer at <a href="http://www.precedent.co.uk" title="Precedent">Precedent</a>.</p>
@ -99,7 +99,7 @@
<li class="post">
<h2>The Quickest way to Install Sublime Text 2 in Ubuntu</h2>
<p class="posted">2nd March 2013</p>
<p class="posted text-light">2nd March 2013</p>
<p>After reading numerous blog posts about how to install <a href="http://www.sublimetext.com/2" title="Sublime Text 2">Sublime Text 2</a> in <a href="http://www.ubuntu.com/2" title="Ubuntu">Ubuntu</a>, this is definitely the quickest way!</p>
@ -110,7 +110,7 @@
<li class="post">
<h2>Creating and using custom tokens in Drupal 7</h2>
<p class="posted">16th February 2013</p>
<p class="posted text-light">16th February 2013</p>
<p>This post outlines the steps required to create your own custom tokens in Drupal.</p>
@ -121,7 +121,7 @@
<li class="post">
<h2>Checking if a user is logged into Drupal (the right way)</h2>
<p class="posted">9th January 2013</p>
<p class="posted text-light">9th January 2013</p>
<p>I see this regularly when working on Drupal sites when someone wants to check whether the current user is logged in to Drupal (authenticated) or not (anonymous).</p>
@ -132,7 +132,7 @@
<li class="post">
<h2>How to use SASS and Compass in Drupal 7 using Sassy</h2>
<p class="posted">6th December 2012</p>
<p class="posted text-light">6th December 2012</p>
<p>I've recently started using <a href="http://sass-lang.com">SASS</a> rather than LESS to do my CSS preprocessing - namely due to its integration with <a href="http://compass-style.org">Compass</a> and it's built-in CSS3 mixins. Here are three modules that provide the ability to use SASS within Drupal.</p>
@ -143,7 +143,7 @@
<li class="post">
<h2>Open Sublime Text 2 from the Mac OS X Command Line</h2>
<p class="posted">17th November 2012</p>
<p class="posted text-light">17th November 2012</p>
<p>How to open Sublime Text from the command line.</p>
@ -154,7 +154,7 @@
<li class="post">
<h2>Accessible Bristol site launched</h2>
<p class="posted">15th November 2012</p>
<p class="posted text-light">15th November 2012</p>
<p>I'm happy to announce that the <a href="http://www.accessiblebristol.org.uk">Accessible Bristol</a> website was launched this week, on Drupal 7.</p>
@ -167,7 +167,7 @@
<li class="post">
<h2>My Sublime Text 2 settings</h2>
<p class="posted">25th October 2012</p>
<p class="posted text-light">25th October 2012</p>
<p><a href="http://www.sublimetext.com/2">Sublime Text 2</a> has been my text editor of choice for the past few months, and I use it at home, in work, and on any virtual machines that I run. So rather than having to manually re-enter my settings each time, I thought that I'd document them here for future reference.</p>
@ -180,7 +180,7 @@
<li class="post">
<h2>Reflections on speaking at UnifiedDiff</h2>
<p class="posted">6th September 2012</p>
<p class="posted text-light">6th September 2012</p>
<p>Yesterday evening I went along and spoke at the <a href="http://www.unifieddiff.co.uk">UnifiedDiff meetup</a> in Cardiff, having offered previously to do a presentation providing an introduction to Drupal.</p>
@ -191,7 +191,7 @@
<li class="post">
<h2>Display a Custom Menu in a Drupal 7 Theme Template File</h2>
<p class="posted">18th August 2012</p>
<p class="posted text-light">18th August 2012</p>
<p>For reference, this is the code needed to display a menu in a Drupal 7 template file, including the navigation ARIA role.</p>

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Writing an Article for Linux Journal</h2>
<p class="posted">27th July 2012</p>
<p class="posted text-light">27th July 2012</p>
<p>I'm absolutely delighted to announce that I'm going to be writing an article for <a href="http://www.linuxjournal.com">Linux Journal</a> magazine's upcoming Drupal special.</p>
@ -99,7 +99,7 @@
<li class="post">
<h2>Install and Configure the Nomensa Accessible Media Player in Drupal</h2>
<p class="posted">14th July 2012</p>
<p class="posted text-light">14th July 2012</p>
<p>This week I released the first version of the Nomensa Accessible Media Player module for Drupal 7. Here's some instructions of how to install and configure it.</p>
@ -110,7 +110,7 @@
<li class="post">
<h2>My new Drupal modules</h2>
<p class="posted">12th July 2012</p>
<p class="posted text-light">12th July 2012</p>
<p>After a busy few days, I've released two new contrib Drupal modules.</p>
@ -121,7 +121,7 @@
<li class="post">
<h2>Dividing Drupal&#039;s process and preprocess functions into separate files</h2>
<p class="posted">24th May 2012</p>
<p class="posted text-light">24th May 2012</p>
<p>If you use a lot of process and preprocess functions within your Drupal theme, then your template.php can get very long and it can become difficult to find a certain piece of code.</p>
@ -134,7 +134,7 @@
<li class="post">
<h2>Writing a .info file for a Drupal 7 theme</h2>
<p class="posted">23rd May 2012</p>
<p class="posted text-light">23rd May 2012</p>
<p>An example .info file for a Drupal 7 theme.</p>
@ -145,7 +145,7 @@
<li class="post">
<h2>Prevent Apache from displaying text files within a web browser</h2>
<p class="posted">23rd May 2012</p>
<p class="posted text-light">23rd May 2012</p>
<p>When you download <a href="http://drupal.org/project/drupal">Drupal</a>, there are several text files that are placed in the root of your installation. You don't want or need these to be visible to anyone attempting to view them in a browser - especially CHANGELOG.txt as that includes the exact version of Drupal you are running and could therefore have security implications.</p>
@ -158,7 +158,7 @@
<li class="post">
<h2>How to add a date popup calendar onto a custom form</h2>
<p class="posted">23rd May 2012</p>
<p class="posted text-light">23rd May 2012</p>
<p>How to use a date popup calendar within your custom module.</p>
@ -169,7 +169,7 @@
<li class="post">
<h2>Forward one domain to another using mod_rewrite and .htaccess</h2>
<p class="posted">23rd May 2012</p>
<p class="posted text-light">23rd May 2012</p>
<p>How to use the .htaccess file to forward to a different domain.</p>
@ -180,7 +180,7 @@
<li class="post">
<h2>Checkout a specific revision from SVN from the command line</h2>
<p class="posted">23rd May 2012</p>
<p class="posted text-light">23rd May 2012</p>
<p>How to checkout a specific revision from a SVN (Subversion) repository.</p>
@ -191,7 +191,7 @@
<li class="post">
<h2>Adding Custom Theme Templates in Drupal 7</h2>
<p class="posted">19th April 2012</p>
<p class="posted text-light">19th April 2012</p>
<p>Today, I had a situation where I was displaying a list of teasers for news article nodes. The article content type had several different fields assigned to it, including main and thumbnail images. In this case, I wanted to have different output and fields displayed when a teaser was displayed compared to when a complete node was displayed.</p>

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Installing Nagios on CentOS</h2>
<p class="posted">17th April 2012</p>
<p class="posted text-light">17th April 2012</p>
<p>A great post details that details the steps needed to install Nagios - a popular open source system and network monitoring software application - on CentOS.
@ -101,7 +101,7 @@ http://saylinux.net/story/009506/how-install-nagios-centos-55
<li class="post">
<h2>Create an Omega Subtheme with LESS CSS Preprocessor using Omega Tools and Drush</h2>
<p class="posted">16th April 2012</p>
<p class="posted text-light">16th April 2012</p>
<p>In this tutorial I&#039;ll be showing how to create an Omega subtheme using the Omega Tools module, and have it working with the LESS CSS preprocessor.
@ -113,7 +113,7 @@ The first thing that I need to do is download the Omega theme and the Omega Tool
<li class="post">
<h2>How to use Authorized Keys to Create a Passwordless SSH Connection</h2>
<p class="posted">1st February 2012</p>
<p class="posted text-light">1st February 2012</p>
<p>If you&#039;re accessing Linux servers or automating tasks between servers, rather than having to enter your user password every time, you can also use SSH public key authentication. This is a simple process that involves creating a local key and storing it within the authorized_keys file on the remote server.
@ -126,7 +126,7 @@ Check &hellip;</p>
<li class="post">
<h2>Site Upgraded to Drupal 7</h2>
<p class="posted">4th January 2012</p>
<p class="posted text-light">4th January 2012</p>
<p>As 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.
@ -138,7 +138,7 @@ I&#039;ve upgraded a handful of &hellip;</p>
<li class="post">
<h2>How to Install and Configure Subversion (SVN) Server on Ubuntu</h2>
<p class="posted">19th October 2011</p>
<p class="posted text-light">19th October 2011</p>
<p>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.
@ -150,7 +150,7 @@ Note: As I was using Ubuntu, I was using the &#039;apt-get&#039; command to down
<li class="post">
<h2>Create Multigroups in Drupal 7 using Field Collections</h2>
<p class="posted">28th August 2011</p>
<p class="posted text-light">28th August 2011</p>
<p>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 &hellip;</p>
@ -160,7 +160,7 @@ Note: As I was using Ubuntu, I was using the &#039;apt-get&#039; command to down
<li class="post">
<h2>Imagefield Import Archive</h2>
<p class="posted">23rd May 2011</p>
<p class="posted text-light">23rd May 2011</p>
<p>I&#039;ve finally uploaded my first module onto Drupal.org!
@ -172,7 +172,7 @@ I&#039;ve written many custom modules, although the vast majority of them are ei
<li class="post">
<h2>Proctors Hosting the next Drupal Meetup</h2>
<p class="posted">20th May 2011</p>
<p class="posted text-light">20th May 2011</p>
<p>My employer, Proctor &amp;amp; Stevenson, are going to be hosting the next Bristol &amp;amp; South West Drupal meetup on the 25th May at our offices.
@ -185,7 +185,7 @@ You can view more details, or register on our website.
<li class="post">
<h2>Proctor &amp; Stevenson</h2>
<p class="posted">31st March 2011</p>
<p class="posted text-light">31st March 2011</p>
<p>2 weeks ago, I handed in my notice of resignation to Horse &amp;amp; Country TVbecause I&#039;ve been offered a new role at Proctor &amp;amp; Stevenson - a Marketing Design and Communications agency in Bristol.
@ -197,7 +197,7 @@ Proctors have an extensive client list - including BMW, Panasonic, the Open Univ
<li class="post">
<h2>Display the Number of Facebook fans in PHP</h2>
<p class="posted">15th March 2011</p>
<p class="posted text-light">15th March 2011</p>
<p>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 &#039;Adverts and Pages&#039;, clicking &#039;Edit page&#039;, and looking at the URL.

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Easily Embed TypeKit Fonts into your Drupal Website</h2>
<p class="posted">14th February 2011</p>
<p class="posted text-light">14th February 2011</p>
<p>To begin with, you will need to register for a TypeKit account - there is a free version if you just want to try it out.
@ -102,7 +102,7 @@ Under &hellip;</p>
<li class="post">
<h2>Use Regular Expressions to Search and Replace in Coda or TextMate</h2>
<p class="posted">4th November 2010</p>
<p class="posted text-light">4th November 2010</p>
<p>As in the original post, I&#039;d generated a list of node ID values, and needed to add structure the SQL update statment formatted in a certain way. However, I changed my inital query slightly to out put the same nid value twice.
@ -114,7 +114,7 @@ SELECT nid, nid FROM node WHERE TYPE = &#039;blog&#039; &hellip;</p>
<li class="post">
<h2>Create a Better Photo Gallery in Drupal - Part 2.1</h2>
<p class="posted">22nd October 2010</p>
<p class="posted text-light">22nd October 2010</p>
<p>Today, I realised that I hadn&#039;t published the code that I used to create the total figures of galleries and photos at the top of the gallery (I said at the end of Part 2 that I&#039;d include it in Part 3, but I forgot). So, here it is:
@ -128,7 +128,7 @@ SELECT nid, nid FROM node WHERE TYPE = &#039;blog&#039; &hellip;</p>
<li class="post">
<h2>Create a Better Photo Gallery in Drupal - Part 3</h2>
<p class="posted">13th October 2010</p>
<p class="posted text-light">13th October 2010</p>
<p>The next part of the new gallery that I want to implement is to group the galleries by their respective categories. The first step is to edit my original photo_gallery view and add an additional display.
@ -140,7 +140,7 @@ I&#039;ve called it &#039;Taxonomy&#039;, and it&#039;s similar to the original
<li class="post">
<h2>How to Create and Apply Patches</h2>
<p class="posted">10th October 2010</p>
<p class="posted text-light">10th October 2010</p>
<p>Earlier this year, I posted a solution to <a href="http://drupal.org/node/753898">an issue</a> on the Drupal.org issue queue. Originally, I just posted the code back onto the issue, but have now created a patch that can easily be applied to any Drupal 6 installation. Here is a run-through of the process of creating and applying a patch. In this case, I made changes to the <code>user_pass_validate()</code> function that's found within <code>modules/user/user.pages.inc</code>.</p>
@ -151,7 +151,7 @@ I&#039;ve called it &#039;Taxonomy&#039;, and it&#039;s similar to the original
<li class="post">
<h2>The Inaugural Meetup for the South Wales Drupal User Group</h2>
<p class="posted">26th September 2010</p>
<p class="posted text-light">26th September 2010</p>
<p>If you do Drupal, and you&#039;re in the area, come and join us for the first South Wales Drupal User Group Meetup!
@ -171,7 +171,7 @@ For more information and to signup, visit http://groups.drupal.org/node/95104.
<li class="post">
<h2>Review of the Image Caption Module</h2>
<p class="posted">20th August 2010</p>
<p class="posted text-light">20th August 2010</p>
<p>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.
@ -183,7 +183,7 @@ The Image Caption module uses jQuery to dynamically add captions to &hellip;</p>
<li class="post">
<h2>Create a Better Photo Gallery in Drupal - Part 2</h2>
<p class="posted">17th August 2010</p>
<p class="posted text-light">17th August 2010</p>
<p>At the end of my last post, I&#039;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&#039;s original website.
@ -195,7 +195,7 @@ Firstly, I&#039;ll refer to the previous list of published galleries that &helli
<li class="post">
<h2>Create a Better Photo Gallery in Drupal - Part 1</h2>
<p class="posted">11th August 2010</p>
<p class="posted text-light">11th August 2010</p>
<p>Recently, I converted a client&#039;s static HTML website, along with their Coppermine Photo Gallery, into a Drupal-powered website.
@ -209,7 +209,7 @@ To begin with, I created my photo &hellip;</p>
<li class="post">
<h2>Review of the Admin:hover Module</h2>
<p class="posted">10th August 2010</p>
<p class="posted text-light">10th August 2010</p>
<p>Sorry for the lack of Blog posts lately, but my new job that I started a few weeks ago has certainly been keeping me busy! I&#039;ve got a few more posts that I&#039;m preparing content for, and I&#039;ll hopefully be back into my weekly-post routine before too long!

View file

@ -88,7 +88,7 @@
<li class="post">
<h2>Review of the Teleport Module</h2>
<p class="posted">12th July 2010</p>
<p class="posted text-light">12th July 2010</p>
<p>As a heavily-reliant Quicksilver user on my MacBook Pro, I was glad when I found the Teleport module for Drupal (due to Elliott Rothman&#039;s tweet).
@ -100,7 +100,7 @@ When you press a configurable hot-key, a jQuery dialog box appears where you can
<li class="post">
<h2>Add a Taxonomy Term to Multiple Nodes Using SQL</h2>
<p class="posted">7th July 2010</p>
<p class="posted text-light">7th July 2010</p>
<p>Update: This can also be done using the Views Bulk Operations module.
@ -112,7 +112,7 @@ In preparation for my Blog posts being added to Drupal Planet, I needed to creat
<li class="post">
<h2>Create Virtual Hosts on Mac OS X Using VirtualHostX</h2>
<p class="posted">2nd July 2010</p>
<p class="posted text-light">2nd July 2010</p>
<p>This isn&#039;t a Drupal related topic per se, but it is a walk-through of one of the applications that I use whilst doing Drupal development work. I assume, like most Mac OS X users, I use MAMP to run Apache, MySQL and PHP locally whilst developing. I also use virtual &hellip;</p>
@ -122,7 +122,7 @@ In preparation for my Blog posts being added to Drupal Planet, I needed to creat
<li class="post">
<h2>Change the Content Type of Multiple Nodes Using SQL</h2>
<p class="posted">1st July 2010</p>
<p class="posted text-light">1st July 2010</p>
<p>In this post, I will be changing values within my Drupal 6 site&#039;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 &#039;News article&#039;.
@ -134,7 +134,7 @@ Before changing &hellip;</p>
<li class="post">
<h2>Create a Flickr Photo Gallery Using Feeds, CCK and Views</h2>
<p class="posted">28th June 2010</p>
<p class="posted text-light">28th June 2010</p>
<p>In this tutorial, I&#039;ll show you how to create a photo gallery which uses photos imported from Flickr.
@ -159,7 +159,7 @@ The first thing that I did was to create a content type to store my imported ima
<li class="post">
<h2>10 Useful Drupal 6 Modules</h2>
<p class="posted">25th June 2010</p>
<p class="posted text-light">25th June 2010</p>
<p>Aside from the obvious candidates such as Views, CCK etc, here are a list of 10 contributed modules that I currently use on each Drupal project.
@ -174,7 +174,7 @@ Admin: The admin module provides UI improvements to the standard Drupal admin in
<li class="post">
<h2>Create a Block of Social Media Icons using CCK, Views and Nodequeue</h2>
<p class="posted">23rd June 2010</p>
<p class="posted text-light">23rd June 2010</p>
<p>I recently decided that I wanted to have a block displayed in a sidebar on my site containing icons and links to my social media profiles - Twitter, Facebook etc. I tried the Follow module, but it lacked the option to add extra networks such my Drupal.org account, and my &hellip;</p>
@ -184,7 +184,7 @@ Admin: The admin module provides UI improvements to the standard Drupal admin in
<li class="post">
<h2>Improve JPG Quality in Imagecache and ImageAPI</h2>
<p class="posted">2nd June 2010</p>
<p class="posted text-light">2nd June 2010</p>
<p>Whilst uploading images for my Projects and Testimonials sections, I noticed that the Imagecache-scaled images weren&#039;t as high a quality the originals on my Mac. I did some searching online and found out that, by default, Drupal resamples uploaded jpgs to 75% of their original quality.
@ -196,7 +196,7 @@ To increase the quality of &hellip;</p>
<li class="post">
<h2>Quickly Import Multiples Images Using the Imagefield_Import Module</h2>
<p class="posted">29th May 2010</p>
<p class="posted text-light">29th May 2010</p>
<p>Thanks to Bob at Mustardseed Media for tweeting about this module. It&#039;s undoubtedly saved me hours of work today alone!
@ -208,7 +208,7 @@ I&#039;ve recently started a personal project converting a website to Drupal. It
<li class="post">
<h2>Create a Slideshow of Multiple Images Using Fancy Slide</h2>
<p class="posted">25th May 2010</p>
<p class="posted text-light">25th May 2010</p>
<p>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. &hellip;</p>