340 lines
16 KiB
HTML
340 lines
16 KiB
HTML
<!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">
|
||
|
||
|
||
<meta property="og:url" content="https://opdavies.github.io/oliverdavies.uk/blog/page/8.html">
|
||
<meta property="og:title" content="Blog"/>
|
||
|
||
|
||
|
||
<meta property="og:image" content="https://opdavies.github.io/oliverdavies.uk/assets/images/me-precedent.jpg"/>
|
||
<meta property="og:image:height" content="327"/>
|
||
<meta property="og:image:type" content="image/jpg">
|
||
<meta property="og:image:width" content="327"/>
|
||
|
||
|
||
|
||
<link rel="stylesheet" href="https://opdavies.github.io/oliverdavies.uk/assets/css/main.css">
|
||
<link rel="stylesheet" href="https://opdavies.github.io/oliverdavies.uk/assets/css/blog.css">
|
||
|
||
<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>
|
||
<a class="navbar-brand" href="https://opdavies.github.io/oliverdavies.uk/">Oliver Davies</a>
|
||
</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>Easily Embed TypeKit Fonts into your Drupal Website</h2>
|
||
|
||
<p class="posted">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.
|
||
|
||
Next, you'll need to create a kit that contains the fonts that you want to use on your website. I've used FF Tisa Web Pro.
|
||
|
||
Under …</p>
|
||
|
||
<a href="/blog/2011/02/14/easily-embed-typekit-fonts-your-drupal-website">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>Use Regular Expressions to Search and Replace in Coda or TextMate</h2>
|
||
|
||
<p class="posted">4th November 2010</p>
|
||
|
||
|
||
<p>As in the original post, I'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.
|
||
|
||
SELECT nid, nid FROM node WHERE TYPE = 'blog' …</p>
|
||
|
||
<a href="/blog/2010/11/04/use-regular-expressions-search-and-replace-coda-or-textmate">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>Create a Better Photo Gallery in Drupal - Part 2.1</h2>
|
||
|
||
<p class="posted">22nd October 2010</p>
|
||
|
||
|
||
<p>Today, I realised that I hadn'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'd include it in Part 3, but I forgot). So, here it is:
|
||
|
||
&lt;?php
|
||
|
||
// Queries …</p>
|
||
|
||
<a href="/blog/2010/10/22/create-better-photo-gallery-drupal-part-21">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>Create a Better Photo Gallery in Drupal - Part 3</h2>
|
||
|
||
<p class="posted">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.
|
||
|
||
I've called it 'Taxonomy', and it's similar to the original 'All Galleries' view. The differences …</p>
|
||
|
||
<a href="/blog/2010/10/13/create-better-photo-gallery-drupal-part-3">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>How to Create and Apply Patches</h2>
|
||
|
||
<p class="posted">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>
|
||
|
||
|
||
<a href="/blog/2010/10/10/create-and-apply-patches">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>The Inaugural Meetup for the South Wales Drupal User Group</h2>
|
||
|
||
<p class="posted">26th September 2010</p>
|
||
|
||
|
||
<p>If you do Drupal, and you're in the area, come and join us for the first South Wales Drupal User Group Meetup!
|
||
|
||
We'll be meeting in the communal area just outside of the SubHub HQ, at:
|
||
|
||
4, The Studios
|
||
3 Burt Street
|
||
Cardiff
|
||
CF10 5FZ
|
||
|
||
For more information and to signup, visit http://groups.drupal.org/node/95104.
|
||
…</p>
|
||
|
||
<a href="/blog/2010/09/26/south-wales-drupal-user-group">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>Review of the Image Caption Module</h2>
|
||
|
||
<p class="posted">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.
|
||
|
||
The Image Caption module uses jQuery to dynamically add captions to …</p>
|
||
|
||
<a href="/blog/2010/08/20/review-image-caption-module">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>Create a Better Photo Gallery in Drupal - Part 2</h2>
|
||
|
||
<p class="posted">17th August 2010</p>
|
||
|
||
|
||
<p>At the end of my last post, I'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's original website.
|
||
|
||
Firstly, I'll refer to the previous list of published galleries that …</p>
|
||
|
||
<a href="/blog/2010/08/17/create-better-photo-gallery-drupal-part-2">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>Create a Better Photo Gallery in Drupal - Part 1</h2>
|
||
|
||
<p class="posted">11th August 2010</p>
|
||
|
||
|
||
<p>Recently, I converted a client's static HTML website, along with their Coppermine Photo Gallery, into a Drupal-powered website.
|
||
|
||
Over the next few posts, I'll be replicating the process that I used during the conversion, and how I added some additional features to my Drupal gallery.
|
||
|
||
To begin with, I created my photo …</p>
|
||
|
||
<a href="/blog/2010/08/11/create-better-photo-gallery-drupal-part-1">Read more →</a>
|
||
</li>
|
||
<li class="post">
|
||
<h2>Review of the Admin:hover Module</h2>
|
||
|
||
<p class="posted">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've got a few more posts that I'm preparing content for, and I'll hopefully be back into my weekly-post routine before too long!
|
||
|
||
Today, I'd like …</p>
|
||
|
||
<a href="/blog/2010/08/10/review-adminhover-module">Read more →</a>
|
||
</li>
|
||
</ul>
|
||
|
||
<ul class="pager">
|
||
<li class="next"><a href="https://opdavies.github.io/oliverdavies.uk/blog/page/7.html">Newer →</a></li>
|
||
<li class="previous"><a href="https://opdavies.github.io/oliverdavies.uk/blog/page/9.html">← Older</a></li>
|
||
</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
|
||
src="https://opdavies.github.io/oliverdavies.uk/assets/images/da-individual-member.png"
|
||
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"
|
||
src="https://opdavies.github.io/oliverdavies.uk/assets/images/drupal-8.jpg"
|
||
/>
|
||
</a>
|
||
|
||
<img
|
||
src="https://opdavies.github.io/oliverdavies.uk/assets/images/badges/acquia-certified-developer-drupal-8.png"
|
||
alt="Acquia Certified Developer - Drupal 8 Exam Badge"
|
||
height="147" width="147"
|
||
/>
|
||
|
||
<a href="http://conference.phpnw.org.uk/phpnw17">
|
||
<img src="https://opdavies.github.io/oliverdavies.uk/assets/images/badges/phpnw17.png" alt="">
|
||
</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">
|
||
<img src="https://opdavies.github.io/oliverdavies.uk/assets/images/meetups/drupal-bristol.jpeg" alt="Drupal Bristol">
|
||
</a>
|
||
</li>
|
||
<li class="meetups--drupalcamp-bristol">
|
||
<a href="http://www.drupalcampbristol.co.uk" title="DrupalCamp Bristol">
|
||
<img src="https://opdavies.github.io/oliverdavies.uk/assets/images/meetups/drupalcamp-bristol.png" alt="DrupalCamp Bristol">
|
||
</a>
|
||
</li>
|
||
<li class="meetups--phpsw">
|
||
<a href="http://phpsw.uk" title="PHPSW">
|
||
<img src="https://opdavies.github.io/oliverdavies.uk/assets/images/meetups/phpsw.jpeg" alt="PHPSW">
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</footer>
|
||
|
||
<script src="https://opdavies.github.io/oliverdavies.uk/assets/js/site.js"></script>
|
||
|
||
<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>
|