2017-07-10 21:28:39 +00:00
<!DOCTYPE html>
< html class = "no-js" lang = "en-GB" >
< head >
< title > Blog | Oliver Davies< / title >
< meta charset = "UTF-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
2017-07-12 06:22:51 +00:00
< meta property = "og:url" content = "https://www.oliverdavies.uk/blog/page/5.html" >
2017-07-10 21:28:39 +00:00
< meta property = "og:title" content = "Blog" / >
2017-07-12 06:22:51 +00:00
< meta property = "og:image" content = "https://www.oliverdavies.uk/assets/images/me-precedent.jpg" / >
2017-07-10 21:28:39 +00:00
< meta property = "og:image:height" content = "327" / >
< meta property = "og:image:type" content = "image/jpg" >
< meta property = "og:image:width" content = "327" / >
2017-07-12 06:22:51 +00:00
< link rel = "stylesheet" href = "https://www.oliverdavies.uk/assets/css/main.css" >
< link rel = "stylesheet" href = "https://www.oliverdavies.uk/assets/css/blog.css" >
2017-07-10 21:28:39 +00:00
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=57" sizes = "57x57" >
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=114" sizes = "114x114" >
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=72" sizes = "72x72" >
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=144" sizes = "144x144" >
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=60" sizes = "60x60" >
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=120" sizes = "120x120" >
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=76" sizes = "76x76" >
< link rel = "apple-touch-icon" href = "/assets/images/me-precedent.jpg?s=152" sizes = "152x152" >
< link rel = "icon" href = "/assets/images/me-precedent.jpg?s=160" sizes = "160x160" >
< link rel = "icon" href = "/assets/images/me-precedent.jpg?s=96" sizes = "96x96" >
< link rel = "icon" href = "/assets/images/me-precedent.jpg?s=32" sizes = "32x32" >
< link rel = "icon" href = "/assets/images/me-precedent.jpg?s=16" sizes = "16x16" >
< / head >
< body class = "page--blog page--blog__list" >
< nav class = "navbar navbar-inverse navbar-fixed-top" >
< div class = "container" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#navbar" aria-expanded = "false" aria-controls = "navbar" >
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
2017-07-12 06:22:51 +00:00
< a class = "navbar-brand" href = "https://www.oliverdavies.uk/" > Oliver Davies< / a >
2017-07-10 21:28:39 +00:00
< / div >
< div id = "navbar" class = "collapse navbar-collapse" role = "navigation" >
< ul class = "nav navbar-nav" >
< li class = "" >
< a href = "/" > About< / a >
< / li >
< li class = "" >
< a href = "/experience" > Experience< / a >
< / li >
< li class = "" >
< a href = "/testimonials" > Testimonials< / a >
< / li >
< li class = "" >
< a href = "/talks" > Talks< / a >
< / li >
< li class = "active" >
< a href = "/blog" > Blog< / a >
< / li >
< li class = "" >
< a href = "/contact" > Contact< / a >
< / li >
< / ul >
< / div > < / div >
< / nav >
< div class = "container" >
< div class = "row" >
< main class = "col-md-9" >
< h1 > Blog< / h1 >
< ul class = "posts" >
< li class = "post" >
< h2 > Creating and using custom tokens in Drupal 7< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 16th February 2013< / p >
2017-07-10 21:28:39 +00:00
< p > This post outlines the steps required to create your own custom tokens in Drupal.< / p >
< a href = "/blog/2013/02/16/creating-and-using-custom-tokens-drupal-7" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > Checking if a user is logged into Drupal (the right way)< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 9th January 2013< / p >
2017-07-10 21:28:39 +00:00
< 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 >
< a href = "/blog/2013/01/09/checking-if-user-logged-drupal-right-way" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > How to use SASS and Compass in Drupal 7 using Sassy< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 6th December 2012< / p >
2017-07-10 21:28:39 +00:00
< 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 >
< a href = "/blog/2012/12/06/use-sass-and-compass-drupal-7-using-sassy" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > Open Sublime Text 2 from the Mac OS X Command Line< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 17th November 2012< / p >
2017-07-10 21:28:39 +00:00
< p > How to open Sublime Text from the command line.< / p >
< a href = "/blog/2012/11/17/open-sublime-text-2-mac-os-x-command-line" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > Accessible Bristol site launched< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 15th November 2012< / p >
2017-07-10 21:28:39 +00:00
< 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 >
< p > The site has been developed over the past few months, and uses the < a href = "http://drupal.org/project/user_relationships" > User Relationships< / a > and < a href = "http://drupal.org/project/privatemsg" > Privatemsg< / a > modules to provide a community-based platform where people with an interest in accessibility can register and network with each other.< / p >
< a href = "/blog/2012/11/15/accessible-bristol-site-launched" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > My Sublime Text 2 settings< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 25th October 2012< / p >
2017-07-10 21:28:39 +00:00
< 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 >
< p > These preferences ensure that the code is compliant with < a href = "http://drupal.org/coding-standards" title = "Drupal coding standards on Drupal.org" > Drupal coding standards< / a > - using two spaces instead of a tab, no trailing whitespace, blank line at the end of a file etc.< / p >
< a href = "/blog/2012/10/25/my-sublime-text-2-settings" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > Reflections on speaking at UnifiedDiff< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 6th September 2012< / p >
2017-07-10 21:28:39 +00:00
< 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 >
< a href = "/blog/2012/09/06/reflections-speaking-unifieddiff" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > Display a Custom Menu in a Drupal 7 Theme Template File< / h2 >
2017-07-11 17:57:51 +00:00
< p class = "posted text-light" > 18th August 2012< / p >
2017-07-10 21:28:39 +00:00
< p > For reference, this is the code needed to display a menu in a Drupal 7 template file, including the navigation ARIA role.< / p >
< a href = "/blog/2012/08/18/display-custom-menu-drupal-7-theme-template-file" > Read more → < / a >
2017-07-12 06:22:51 +00:00
< / li >
< li class = "post" >
< h2 > Writing an Article for Linux Journal< / h2 >
< 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 >
< a href = "/blog/2012/07/27/writing-article-linux-journal" > Read more → < / a >
< / li >
< li class = "post" >
< h2 > Install and Configure the Nomensa Accessible Media Player in Drupal< / h2 >
< 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 >
< a href = "/blog/2012/07/14/install-nomensa-media-player-drupal" > Read more → < / a >
2017-07-10 21:28:39 +00:00
< / li >
< / ul >
< ul class = "pager" >
2017-07-12 06:22:51 +00:00
< li class = "next" > < a href = "https://www.oliverdavies.uk/blog/page/4.html" > Newer →< / a > < / li >
< li class = "previous" > < a href = "https://www.oliverdavies.uk/blog/page/6.html" > ← Older< / a > < / li >
2017-07-10 21:28:39 +00:00
< / ul >
< / main >
< div class = "col-md-3" >
< div class = "panel badges text-center" >
< a class = "badge--da-member" href = "https://assoc.drupal.org/membership" title = "I’ m a Drupal Association member." >
< img
2017-07-12 06:22:51 +00:00
src="//images.oliverdavies.uk/assets/images/da-individual-member.png"
2017-07-10 21:28:39 +00:00
alt="Drupal Association Individual Member"
width="152"
>
< / a >
< a href = "http://drupalcores.com/#opdavies" >
< img
alt="I built Drupal 8 with hand holding a wrench on blue background"
2017-07-12 06:22:51 +00:00
src="//images.oliverdavies.uk/assets/images/drupal-8.jpg"
2017-07-10 21:28:39 +00:00
/>
< / a >
< img
2017-07-12 06:22:51 +00:00
src="//images.oliverdavies.uk/assets/images/badges/acquia-certified-developer-drupal-8.png"
2017-07-10 21:28:39 +00:00
alt="Acquia Certified Developer - Drupal 8 Exam Badge"
height="147" width="147"
/>
< a href = "http://conference.phpnw.org.uk/phpnw17" >
2017-07-12 06:22:51 +00:00
< img src = "//images.oliverdavies.uk/assets/images/badges/phpnw17.png" alt = "" >
2017-07-10 21:28:39 +00:00
< / a >
< / div >
< div class = "availability panel panel-default" >
< div class = "panel-heading" > Availability< / div >
< div class = "panel-body" >
< p >
< i class = "fa fa-thumbs-o-up text-warning" > < / i >
Currently have limited part-time capacity
< / p >
< p >
< i class = "fa fa-thumbs-o-down text-danger" > < / i >
Currently no spare full-time capacity.
< / p >
< / div >
< / div >
< div class = "latest-posts panel panel-default" >
< div class = "latest-posts__heading panel-heading" > Latest blog posts< / div >
< ul class = "list-group" >
< li class = "post list-group-item" >
< span class = "post__title" >
< a href = "/blog/2017/06/09/introducing-the-drupal-meetups-twitterbot" >
Introducing the Drupal Meetups Twitterbot
< / a >
< / span > -
< span class = "post__date" > 9th June, 2017< / span >
< / li >
< li class = "post list-group-item" >
< span class = "post__title" >
< a href = "/blog/2017/05/20/turning-drupal-module-into-feature" >
Turning Your Custom Drupal Module into a Feature
< / a >
< / span > -
< span class = "post__date" > 20th May, 2017< / span >
< / li >
< li class = "post list-group-item" >
< span class = "post__title" >
< a href = "/blog/2017/05/15/drupalcamp-bristol-early-bird-tickets-sessions-sponsors" >
DrupalCamp Bristol 2017 - Early Bird Tickets, Call for Sessions, Sponsors
< / a >
< / span > -
< span class = "post__date" > 15th May, 2017< / span >
< / li >
< / ul >
< / div >
< / div >
< / div > < / div >
< footer class = "container" >
< p class = "copyright" >
© 2010-2017 Oliver Davies. Built with < a href = "https://sculpin.io" > Sculpin< / a > .
< / p >
< div class = "meetups" >
< h2 > Things that I organise< / h2 >
< ul >
< li class = "meetups--drupal-bristol" >
< a href = "http://www.drupalbristol.org.uk" title = "Drupal Bristol" >
2017-07-11 06:34:02 +00:00
< img
2017-07-12 06:22:51 +00:00
src="//images.oliverdavies.uk/assets/images/meetups/drupal-bristol.jpeg"
2017-07-11 06:34:02 +00:00
alt="Drupal Bristol logo"
>
2017-07-10 21:28:39 +00:00
< / a >
< / li >
< li class = "meetups--drupalcamp-bristol" >
< a href = "http://www.drupalcampbristol.co.uk" title = "DrupalCamp Bristol" >
2017-07-11 06:34:02 +00:00
< img
2017-07-12 06:22:51 +00:00
src="//images.oliverdavies.uk/assets/images/meetups/drupalcamp-bristol.png"
2017-07-11 06:34:02 +00:00
alt="DrupalCamp Bristol logo"
>
2017-07-10 21:28:39 +00:00
< / a >
< / li >
< li class = "meetups--phpsw" >
< a href = "http://phpsw.uk" title = "PHPSW" >
2017-07-11 06:34:02 +00:00
< img
2017-07-12 06:22:51 +00:00
src="//images.oliverdavies.uk/assets/images/meetups/phpsw.jpeg"
2017-07-11 06:34:02 +00:00
alt="PHPSW logo"
>
2017-07-10 21:28:39 +00:00
< / a >
< / li >
< / ul >
< / div >
< / footer >
2017-07-12 06:22:51 +00:00
< script src = "https://www.oliverdavies.uk/assets/js/site.js" > < / script >
2017-07-10 21:28:39 +00:00
< script > ( function ( i , s , o , g , r , a , m ) { i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) { ( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) , m = s . getElementsByTagName ( o ) [ 0 ] ; a . async = 1 ; a . src = g ; m . parentNode . insertBefore ( a , m ) } ) ( window , document , 'script' , '//www.google-analytics.com/analytics.js' , 'ga' ) ; ga ( 'create' , 'UA-11967257-1' , 'auto' ) ; ga ( 'send' , 'pageview' ) ; < / script >
< / body >
< / html >