From 21fd100515be03d144a6133418938aa218920137 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 29 Dec 2016 16:32:52 +0000 Subject: [PATCH] Add latest posts to other pages --- source/404.md | 1 + source/_partials/posts/latest.html.twig | 2 +- source/_posts/2010-04-05-style-drupal-6-lists.md | 1 + source/_posts/2010-04-28-imagecrop.md | 1 + source/_posts/2010-05-06-conditional-email-address-webform.md | 1 + source/_posts/2010-05-10-zenophile.md | 1 + source/_posts/2010-05-25-fancy-slide.md | 1 + source/_posts/2010-05-29-imagefield-import-module.md | 1 + source/_posts/2010-06-02-improve-jpg-quality.md | 1 + source/_posts/2010-06-23-social-icons-block.md | 1 + source/_posts/2010-06-25-useful-drupal-6-modules.md | 1 + source/_posts/2010-06-28-flickr-photo-gallery.md | 1 + source/_posts/2010-07-01-change-content-type-sql.md | 1 + source/_posts/2010-07-02-virtual-hosts-virtualhostx.md | 1 + .../2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md | 1 + source/_posts/2010-07-12-teleport-module.md | 1 + source/_posts/2010-08-10-adminhover-module.md | 1 + source/_posts/2010-08-11-better-photo-gallery-1.md | 1 + source/_posts/2010-08-17-better-photo-gallery-2.md | 1 + source/_posts/2010-08-20-image-caption-module.md | 1 + source/_posts/2010-09-26-south-wales-drupal-user-group.md | 1 + source/_posts/2010-10-10-create-apply-patches.md | 1 + source/_posts/2010-10-13-better-photo-gallery-2.md | 1 + source/_posts/2010-10-22-better-photo-gallery-21.md | 1 + source/_posts/2010-11-04-regular-expressions-search.md | 1 + source/_posts/2011-02-14-typekit-fonts.md | 1 + source/_posts/2011-03-15-number-of-facebook-fans.md | 1 + source/_posts/2011-03-31-proctors.md | 1 + source/_posts/2011-05-20-proctors-drupal-meetup.md | 1 + source/_posts/2011-05-23-imagefield-import-archive.md | 1 + source/_posts/2011-08-28-multigroups-field-collections.md | 1 + ...10-19-install-and-configure-subversion-svn-server-ubuntu.md | 1 + source/_posts/2012-01-04-upgraded-drupal-7.md | 1 + source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md | 1 + source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md | 1 + source/_posts/2012-04-17-nagios-centos.md | 1 + source/_posts/2012-04-19-custom-theme-templates.md | 1 + source/_posts/2012-05-23-apache-text-files.md | 1 + .../2012-05-23-checkout-specific-revision-svn-command-line.md | 1 + source/_posts/2012-05-23-date-popup-custom-form.md | 1 + source/_posts/2012-05-23-forward-domain-mod-rewrite.md | 1 + source/_posts/2012-05-23-info-file-drupal-7-theme.md | 1 + ...-05-24-dividing-drupals-process-and-preprocess-functions.md | 1 + source/_posts/2012-07-12-my-new-drupal-modules.md | 1 + .../_posts/2012-07-14-install-nomensa-media-player-drupal.md | 1 + source/_posts/2012-07-27-linux-journal.md | 1 + ...2-08-18-display-custom-menu-drupal-7-theme-template-file.md | 1 + source/_posts/2012-09-06-reflections-speaking-unifieddiff.md | 1 + source/_posts/2012-10-25-my-sublime-text-2-settings.md | 1 + source/_posts/2012-11-15-accessible-bristol-site.md | 1 + .../2012-11-17-open-sublime-text-2-mac-os-x-command-line.md | 1 + .../2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md | 1 + .../2013-01-09-checking-if-user-logged-drupal-right-way.md | 1 + .../2013-02-16-creating-and-using-custom-tokens-drupal-7.md | 1 + .../2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md | 1 + source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md | 1 + ...3-04-27-display-git-branch-or-tag-names-your-bash-prompt.md | 1 + .../2013-06-13-some-useful-links-using-simpletest-drupal.md | 1 + ...ng-local-and-staging-sites-drupals-domain-module-enabled.md | 1 + source/_posts/2013-07-26-going-to-drupalcon.md | 1 + source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md | 1 + source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md | 1 + source/_posts/2013-11-27-useful-vagrant-commands.md | 1 + ...3-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md | 1 + .../2013-12-31-download-different-versions-drupal-drush.md | 1 + source/_posts/2014-01-15-some-useful-git-aliases.md | 1 + source/_posts/2014-02-09-drupalcamp-london-2014.md | 1 + source/_posts/2014-03-03-drupalcamp-london-git-flow.md | 1 + source/_posts/2014-05-03-drupal-association.md | 1 + source/_posts/2014-05-06-thanks.md | 1 + source/_posts/2014-05-21-git-format-patch.md | 1 + source/_posts/2014-07-02-drush-make-drupalbristol.md | 1 + .../2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md | 1 + ...0-21-updating-features-and-adding-components-using-drush.md | 1 + .../2014-11-18-include-css-fonts-using-sass-each-loop.md | 1 + ...te-files-when-developing-locally-stage-file-proxy-module.md | 1 + source/_posts/2014-11-27-pantheon-settings-files.md | 1 + ...al-settings-file-environment-configuration-and-overrides.md | 1 + .../_posts/2014-12-22-configuring-the-reroute-email-module.md | 1 + source/_posts/2015-03-20-2014.md | 1 + source/_posts/2015-04-03-minimum-core-version.md | 1 + source/_posts/2015-06-18-updating-forked-github-repos.md | 1 + source/_posts/2015-07-19-sculpin-resources.md | 1 + source/_posts/2015-07-21-automating-sculpin-with-jenkins.md | 1 + source/_posts/2015-12-22-entityform.md | 1 + source/_posts/2016-02-15-announcing-the-drupal-vm-generator.md | 1 + .../2016-05-03-simplifying-drupal-migrations-with-xautoload.md | 1 + source/_posts/2016-07-15-building-gmail-filters-in-php.md | 1 + source/accessibility.md | 1 + source/blog.html | 3 +-- source/company-information.md | 1 + source/contact-thanks.md | 1 + source/contact.html.twig | 1 + source/experience.html.twig | 1 + source/index.md | 3 +-- source/projects.html.twig | 3 +-- source/sitemap.xml | 3 +-- source/speaker-info.md | 1 + source/talks.html.twig | 3 +-- source/terms.md | 1 + source/testimonials.html.twig | 2 +- 101 files changed, 101 insertions(+), 12 deletions(-) diff --git a/source/404.md b/source/404.md index f697cb47f..bec4b0d9a 100644 --- a/source/404.md +++ b/source/404.md @@ -2,6 +2,7 @@ layout: default title: Page Not Found permalink: /404.html +use: [posts] --- # Page Not Found diff --git a/source/_partials/posts/latest.html.twig b/source/_partials/posts/latest.html.twig index cea802779..16cf9b343 100644 --- a/source/_partials/posts/latest.html.twig +++ b/source/_partials/posts/latest.html.twig @@ -1,4 +1,4 @@ -{% if page.url == '/.' %} +{% if data.posts and page.url != '/blog' %}
Latest blog posts
diff --git a/source/_posts/2010-04-05-style-drupal-6-lists.md b/source/_posts/2010-04-05-style-drupal-6-lists.md index 74de3bdde..a226e4706 100644 --- a/source/_posts/2010-04-05-style-drupal-6-lists.md +++ b/source/_posts/2010-04-05-style-drupal-6-lists.md @@ -6,6 +6,7 @@ tags: - drupal-planet - drupal-theming - taxonomy +use: [posts] --- Whilst developing this, and other Drupal websites for clients, I decided that I wanted to categorise content using the taxonomy system. However, I wasn'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. diff --git a/source/_posts/2010-04-28-imagecrop.md b/source/_posts/2010-04-28-imagecrop.md index c3fb7f226..c2ead22a6 100644 --- a/source/_posts/2010-04-28-imagecrop.md +++ b/source/_posts/2010-04-28-imagecrop.md @@ -8,6 +8,7 @@ tags: - imagecache - imagecrop - imagefield +use: [posts] --- 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'll be using a site called [Popcorn Strips](http://popcornstrips.com) which I built for a friend earlier this year as an example. diff --git a/source/_posts/2010-05-06-conditional-email-address-webform.md b/source/_posts/2010-05-06-conditional-email-address-webform.md index 86b868470..2cc12ff27 100644 --- a/source/_posts/2010-05-06-conditional-email-address-webform.md +++ b/source/_posts/2010-05-06-conditional-email-address-webform.md @@ -6,6 +6,7 @@ tags: - drupal-6 - conditional-email - webform +use: [posts] --- 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 'Name', 'Email', 'Subject' and 'Message' fields, as well as a 'Category' select list. Below 'Options', I entered each of my desired options in the following format: diff --git a/source/_posts/2010-05-10-zenophile.md b/source/_posts/2010-05-10-zenophile.md index 5d16ce296..fa13c9e37 100644 --- a/source/_posts/2010-05-10-zenophile.md +++ b/source/_posts/2010-05-10-zenophile.md @@ -7,6 +7,7 @@ tags: - drupal-theming - zen - zenophile +use: [posts] --- If you use the [Zen](http://drupal.org/project/zen) theme, then you should also be using the [Zenophile](http://drupal.org/project/zenophile) module! diff --git a/source/_posts/2010-05-25-fancy-slide.md b/source/_posts/2010-05-25-fancy-slide.md index 5b0bcf7a4..cf4368815 100644 --- a/source/_posts/2010-05-25-fancy-slide.md +++ b/source/_posts/2010-05-25-fancy-slide.md @@ -7,6 +7,7 @@ tags: - drupal-6 - fancy-slide - slideshow +use: [posts] --- 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. Then, I found the [Fancy Slide](http://drupal.org/project/fancy_slide) module. It's a jQuery Slideshow module with features that include integration with the [CCK](http://drupal.org/project/cck), [ImageCache](http://drupal.org/project/imagecache) and [Nodequeue](http://drupal.org/project/nodequeue) modules. diff --git a/source/_posts/2010-05-29-imagefield-import-module.md b/source/_posts/2010-05-29-imagefield-import-module.md index 9d4f2a5eb..ebe4ae512 100644 --- a/source/_posts/2010-05-29-imagefield-import-module.md +++ b/source/_posts/2010-05-29-imagefield-import-module.md @@ -9,6 +9,7 @@ tags: - photo-gallery - cck - imagefield +use: [posts] --- **Thanks to Bob at [Mustardseed Media](http://mustardseedmedia.com) for [tweeting](http://twitter.com/mustardseedinc/status/14713096905) about this module. It's undoubtedly saved me hours of work today alone!** diff --git a/source/_posts/2010-06-02-improve-jpg-quality.md b/source/_posts/2010-06-02-improve-jpg-quality.md index 3275390a0..636992f93 100644 --- a/source/_posts/2010-06-02-improve-jpg-quality.md +++ b/source/_posts/2010-06-02-improve-jpg-quality.md @@ -5,6 +5,7 @@ tags: - drupal-planet - drupal-6 - imagecache +use: [posts] --- Whilst uploading images for my Projects and Testimonials sections, I noticed that the Imagecache-scaled images weren'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. diff --git a/source/_posts/2010-06-23-social-icons-block.md b/source/_posts/2010-06-23-social-icons-block.md index 84b69bbb6..04ce3c48f 100644 --- a/source/_posts/2010-06-23-social-icons-block.md +++ b/source/_posts/2010-06-23-social-icons-block.md @@ -8,6 +8,7 @@ tags: - views - nodequeue - oliverdavies.co.uk +use: [posts] --- 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](http://twitter.com/opdavies), [Facebook](http://facebook.com/opdavies) etc. I tried the [Follow](http://drupal.org/project/follow) module, but it lacked the option to add extra networks such my [Drupal.org](http://drupal.org/user/381388) account, and my [RSS feed](http://oliverdavies.co.uk/rss.xml). I started to create my own version, and then found [this Blog post](http://www.hankpalan.com/blog/drupal-themes/add-your-social-connections-drupal-icons) by Hank Palan. diff --git a/source/_posts/2010-06-25-useful-drupal-6-modules.md b/source/_posts/2010-06-25-useful-drupal-6-modules.md index 7f276a36b..4c22470f9 100644 --- a/source/_posts/2010-06-25-useful-drupal-6-modules.md +++ b/source/_posts/2010-06-25-useful-drupal-6-modules.md @@ -5,6 +5,7 @@ tags: - drupal-6 - drupal - drupal-modules +use: [posts] --- 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. diff --git a/source/_posts/2010-06-28-flickr-photo-gallery.md b/source/_posts/2010-06-28-flickr-photo-gallery.md index 3765b5a4a..afbfcc0b3 100644 --- a/source/_posts/2010-06-28-flickr-photo-gallery.md +++ b/source/_posts/2010-06-28-flickr-photo-gallery.md @@ -12,6 +12,7 @@ tags: - filefield - flickr - imagefield +use: [posts] --- In this tutorial, I'll show you how to create a photo gallery which uses photos imported from [Flickr](http://www.flickr.com). diff --git a/source/_posts/2010-07-01-change-content-type-sql.md b/source/_posts/2010-07-01-change-content-type-sql.md index c3385a9aa..94812c65f 100644 --- a/source/_posts/2010-07-01-change-content-type-sql.md +++ b/source/_posts/2010-07-01-change-content-type-sql.md @@ -9,6 +9,7 @@ tags: - sequel-pro - database - content-types +use: [posts] --- In this post, I will be changing values within my Drupal 6 site'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 'News article'. diff --git a/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md b/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md index e3ee7b2a6..64b837343 100644 --- a/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md +++ b/source/_posts/2010-07-02-virtual-hosts-virtualhostx.md @@ -7,6 +7,7 @@ tags: - mamp - virtual-hosts - virtualhostx +use: [posts] --- This isn'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](http://www.mamp.info/en/index.html) to run Apache, MySQL and PHP locally whilst developing. I also use virtual hosts in Apache to create local .dev domains which are as close as possible to the actual live domains. For example, if I was developing a site called mysite.com, my local development version would be mysite.dev. diff --git a/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md b/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md index 1e51d9028..0172849c0 100644 --- a/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md +++ b/source/_posts/2010-07-07-add-taxonomy-term-multiple-nodes-using-sql.md @@ -8,6 +8,7 @@ tags: - sql - sequal-pro - database +use: [posts] --- **Update:** This can also be done using the [Views Bulk Operations](http://drupal.org/project/views_bulk_operations) module. diff --git a/source/_posts/2010-07-12-teleport-module.md b/source/_posts/2010-07-12-teleport-module.md index 10df1d816..a257eda82 100644 --- a/source/_posts/2010-07-12-teleport-module.md +++ b/source/_posts/2010-07-12-teleport-module.md @@ -6,6 +6,7 @@ tags: - drupal-6 - drupal-modules - teleport +use: [posts] --- As a heavily-reliant [Quicksilver](http://en.wikipedia.org/wiki/Quicksilver_%28software%29) user on my MacBook Pro, I was glad when I found the [Teleport](http://drupal.org/project/teleport) module for [Drupal](http://drupal.org) *(due to Elliott Rothman's [tweet](http://twitter.com/elliotttt/status/18044234238))*. diff --git a/source/_posts/2010-08-10-adminhover-module.md b/source/_posts/2010-08-10-adminhover-module.md index 9d49c87a9..5adde50f3 100644 --- a/source/_posts/2010-08-10-adminhover-module.md +++ b/source/_posts/2010-08-10-adminhover-module.md @@ -7,6 +7,7 @@ tags: - drupal-modules - admin:hover - administration +use: [posts] --- Sorry for the lack of Blog posts lately, but [my new job](http://horseandcountry.tv) 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! diff --git a/source/_posts/2010-08-11-better-photo-gallery-1.md b/source/_posts/2010-08-11-better-photo-gallery-1.md index 8c2d887d8..4ed26a295 100644 --- a/source/_posts/2010-08-11-better-photo-gallery-1.md +++ b/source/_posts/2010-08-11-better-photo-gallery-1.md @@ -11,6 +11,7 @@ tags: - cck - views-attach - drupal +use: [posts] --- Recently, I converted a client's static HTML website, along with their Coppermine Photo Gallery, into a Drupal-powered website. diff --git a/source/_posts/2010-08-17-better-photo-gallery-2.md b/source/_posts/2010-08-17-better-photo-gallery-2.md index 73d44b87a..354b7ba84 100644 --- a/source/_posts/2010-08-17-better-photo-gallery-2.md +++ b/source/_posts/2010-08-17-better-photo-gallery-2.md @@ -7,6 +7,7 @@ tags: - photo-gallery - sql - sequel-pro +use: [posts] --- 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. diff --git a/source/_posts/2010-08-20-image-caption-module.md b/source/_posts/2010-08-20-image-caption-module.md index c6e97f9f9..3e0a7f548 100644 --- a/source/_posts/2010-08-20-image-caption-module.md +++ b/source/_posts/2010-08-20-image-caption-module.md @@ -7,6 +7,7 @@ tags: - drupal-6 - imagefield - image-caption +use: [posts] --- 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](http://drupal.org/project/image_caption) module. diff --git a/source/_posts/2010-09-26-south-wales-drupal-user-group.md b/source/_posts/2010-09-26-south-wales-drupal-user-group.md index 0a2be2e3b..b2d8908da 100644 --- a/source/_posts/2010-09-26-south-wales-drupal-user-group.md +++ b/source/_posts/2010-09-26-south-wales-drupal-user-group.md @@ -6,6 +6,7 @@ tags: - drupal-planet - swdug - meetups +use: [posts] --- If you do Drupal, and you're in the area, come and join us for the first South Wales Drupal User Group Meetup! diff --git a/source/_posts/2010-10-10-create-apply-patches.md b/source/_posts/2010-10-10-create-apply-patches.md index 9cb0b5a27..0b6955a99 100644 --- a/source/_posts/2010-10-10-create-apply-patches.md +++ b/source/_posts/2010-10-10-create-apply-patches.md @@ -6,6 +6,7 @@ tags: - drupal-6 - modules - patches +use: [posts] --- {% block excerpt %} Earlier this year, I posted a solution to [an issue](http://drupal.org/node/753898) 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 `user_pass_validate()` function that's found within `modules/user/user.pages.inc`. diff --git a/source/_posts/2010-10-13-better-photo-gallery-2.md b/source/_posts/2010-10-13-better-photo-gallery-2.md index a668a402c..10b20e3ae 100644 --- a/source/_posts/2010-10-13-better-photo-gallery-2.md +++ b/source/_posts/2010-10-13-better-photo-gallery-2.md @@ -3,6 +3,7 @@ title: Create a Better Photo Gallery in Drupal - Part 3 slug: create-better-photo-gallery-drupal-part-3 tags: - drupal +use: [posts] --- 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. diff --git a/source/_posts/2010-10-22-better-photo-gallery-21.md b/source/_posts/2010-10-22-better-photo-gallery-21.md index a25d56c9f..e24e15215 100644 --- a/source/_posts/2010-10-22-better-photo-gallery-21.md +++ b/source/_posts/2010-10-22-better-photo-gallery-21.md @@ -3,6 +3,7 @@ title: Create a Better Photo Gallery in Drupal - Part 2.1 slug: create-better-photo-gallery-drupal-part-21 tags: - drupal +use: [posts] --- 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](/blog/create-better-photo-gallery-drupal-part-2/ "Create a Better Photo Gallery in Drupal - Part 2") that I'd include it in [Part 3](/blog/create-better-photo-gallery-drupal-part-3/ "Create a Better Photo Gallery in Drupal - Part 3"), but I forgot). So, here it is: diff --git a/source/_posts/2010-11-04-regular-expressions-search.md b/source/_posts/2010-11-04-regular-expressions-search.md index 160993cf5..634841a52 100644 --- a/source/_posts/2010-11-04-regular-expressions-search.md +++ b/source/_posts/2010-11-04-regular-expressions-search.md @@ -8,6 +8,7 @@ tags: - coda - regular-expression - textmate +use: [posts] --- As in [the original post](/blog/add-taxonomy-term-multiple-nodes-using-sql/ "Quickly adding a taxonomy term to multiple nodes using SQL"), 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. diff --git a/source/_posts/2011-02-14-typekit-fonts.md b/source/_posts/2011-02-14-typekit-fonts.md index 63fb73db5..da6569f5d 100644 --- a/source/_posts/2011-02-14-typekit-fonts.md +++ b/source/_posts/2011-02-14-typekit-fonts.md @@ -5,6 +5,7 @@ tags: - drupal-planet - drupal-6 - typekit +use: [posts] --- To begin with, you will need to [register for a TypeKit account](https://typekit.com/plans) - there is a free version if you just want to try it out. diff --git a/source/_posts/2011-03-15-number-of-facebook-fans.md b/source/_posts/2011-03-15-number-of-facebook-fans.md index b6c75fcea..126971555 100644 --- a/source/_posts/2011-03-15-number-of-facebook-fans.md +++ b/source/_posts/2011-03-15-number-of-facebook-fans.md @@ -4,6 +4,7 @@ title: Display the Number of Facebook fans in PHP slug: display-number-facebook-fans-php tags: - php +use: [posts] --- 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. diff --git a/source/_posts/2011-03-31-proctors.md b/source/_posts/2011-03-31-proctors.md index 3028ace6b..e28c4479a 100644 --- a/source/_posts/2011-03-31-proctors.md +++ b/source/_posts/2011-03-31-proctors.md @@ -3,6 +3,7 @@ title: Proctor & Stevenson slug: proctor-stevenson tags: - personal +use: [posts] --- 2 weeks ago, I handed in my notice of resignation to [Horse & Country TV](http://horseandcountry.tv)because I've been offered a new role at [Proctor & Stevenson](http://proctors.co.uk) - a Marketing Design and Communications agency in Bristol. diff --git a/source/_posts/2011-05-20-proctors-drupal-meetup.md b/source/_posts/2011-05-20-proctors-drupal-meetup.md index 220b89d8c..3574118b2 100644 --- a/source/_posts/2011-05-20-proctors-drupal-meetup.md +++ b/source/_posts/2011-05-20-proctors-drupal-meetup.md @@ -4,6 +4,7 @@ slug: proctors-hosting-next-drupal-meetup tags: - meetups - drupal-bristol +use: [posts] --- My employer, [Proctor & Stevenson](http://www.proctors.co.uk), are going to be hosting the next Bristol & South West Drupal meetup on the 25th May at our offices. diff --git a/source/_posts/2011-05-23-imagefield-import-archive.md b/source/_posts/2011-05-23-imagefield-import-archive.md index 22de3f23d..b2e851568 100644 --- a/source/_posts/2011-05-23-imagefield-import-archive.md +++ b/source/_posts/2011-05-23-imagefield-import-archive.md @@ -3,6 +3,7 @@ title: Imagefield Import Archive tags: - drupal-planet - imagefield-import +use: [posts] --- I've finally uploaded my first module onto Drupal.org! diff --git a/source/_posts/2011-08-28-multigroups-field-collections.md b/source/_posts/2011-08-28-multigroups-field-collections.md index c6d5b9ba3..1bdea7120 100644 --- a/source/_posts/2011-08-28-multigroups-field-collections.md +++ b/source/_posts/2011-08-28-multigroups-field-collections.md @@ -9,6 +9,7 @@ tags: - field-collection - entity-api - multigroup +use: [posts] --- 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. diff --git a/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md b/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md index 398d7bc74..d990ae515 100644 --- a/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md +++ b/source/_posts/2011-10-19-install-and-configure-subversion-svn-server-ubuntu.md @@ -5,6 +5,7 @@ tags: - svn - ubuntu - version-control +use: [posts] --- 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. diff --git a/source/_posts/2012-01-04-upgraded-drupal-7.md b/source/_posts/2012-01-04-upgraded-drupal-7.md index bdfa621b5..2ae416b8f 100644 --- a/source/_posts/2012-01-04-upgraded-drupal-7.md +++ b/source/_posts/2012-01-04-upgraded-drupal-7.md @@ -1,6 +1,7 @@ --- title: Site Upgraded to Drupal 7 slug: site-upgraded-drupal-7 +use: [posts] --- 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](http://drupal.org/node/570162) and the [CCK migration process](http://drupal.org/node/1144136), everything was upgraded smoothly without any issues. diff --git a/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md b/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md index d5a5f9075..3731f6d7b 100644 --- a/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md +++ b/source/_posts/2012-02-01-authorized-keys-passwordless-ssh.md @@ -4,6 +4,7 @@ slug: use-authorized-keys-create-passwordless-ssh-connection tags: - linux - ssh +use: [posts] --- If you'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. diff --git a/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md b/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md index 94df78160..e2ffec540 100644 --- a/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md +++ b/source/_posts/2012-04-16-omega-subtheme-drush-omega-tools.md @@ -8,6 +8,7 @@ tags: - less - drupal-planet - drupal +use: [posts] --- In this tutorial I'll be showing how to create an [Omega](http://drupal.org/project/omega) subtheme using the [Omega Tools](http://drupal.org/project/omega_tools) module, and have it working with the [LESS CSS preprocessor](http://lesscss.org). diff --git a/source/_posts/2012-04-17-nagios-centos.md b/source/_posts/2012-04-17-nagios-centos.md index 4d9a47464..0e48e2fab 100644 --- a/source/_posts/2012-04-17-nagios-centos.md +++ b/source/_posts/2012-04-17-nagios-centos.md @@ -5,6 +5,7 @@ tags: - nagios - centos - linux +use: [posts] --- A great post details that details the steps needed to install [Nagios](http://nagios.org) - a popular open source system and network monitoring software application - on CentOS. diff --git a/source/_posts/2012-04-19-custom-theme-templates.md b/source/_posts/2012-04-19-custom-theme-templates.md index d89e12005..f9b01380c 100644 --- a/source/_posts/2012-04-19-custom-theme-templates.md +++ b/source/_posts/2012-04-19-custom-theme-templates.md @@ -6,6 +6,7 @@ slug: adding-custom-theme-templates-drupal-7 tags: - drupal-planet - drupal +use: [posts] --- {% block excerpt %} 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. diff --git a/source/_posts/2012-05-23-apache-text-files.md b/source/_posts/2012-05-23-apache-text-files.md index 56b938a39..3219a0738 100644 --- a/source/_posts/2012-05-23-apache-text-files.md +++ b/source/_posts/2012-05-23-apache-text-files.md @@ -5,6 +5,7 @@ tags: - apache - code - drupal +use: [posts] --- {% block excerpt %} When you download [Drupal](http://drupal.org/project/drupal), 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. diff --git a/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md b/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md index 44fca90cd..1c5ef8eb2 100644 --- a/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md +++ b/source/_posts/2012-05-23-checkout-specific-revision-svn-command-line.md @@ -4,6 +4,7 @@ slug: checkout-specific-revision-svn-command-line tags: - svn - version-control +use: [posts] --- {% block excerpt %} How to checkout a specific revision from a SVN (Subversion) repository. diff --git a/source/_posts/2012-05-23-date-popup-custom-form.md b/source/_posts/2012-05-23-date-popup-custom-form.md index 646d086fa..c915e3aee 100644 --- a/source/_posts/2012-05-23-date-popup-custom-form.md +++ b/source/_posts/2012-05-23-date-popup-custom-form.md @@ -9,6 +9,7 @@ tags: - drupal-7 - drupal-planet - drupal +use: [posts] --- {% block excerpt %} How to use a date popup calendar within your custom module. diff --git a/source/_posts/2012-05-23-forward-domain-mod-rewrite.md b/source/_posts/2012-05-23-forward-domain-mod-rewrite.md index 0cf28b19b..a9226a6cf 100644 --- a/source/_posts/2012-05-23-forward-domain-mod-rewrite.md +++ b/source/_posts/2012-05-23-forward-domain-mod-rewrite.md @@ -7,6 +7,7 @@ tags: - drupal - apache - mod_rewrite +use: [posts] --- {% block excerpt %} How to use the .htaccess file to forward to a different domain. diff --git a/source/_posts/2012-05-23-info-file-drupal-7-theme.md b/source/_posts/2012-05-23-info-file-drupal-7-theme.md index d417166ff..30024ef8d 100644 --- a/source/_posts/2012-05-23-info-file-drupal-7-theme.md +++ b/source/_posts/2012-05-23-info-file-drupal-7-theme.md @@ -6,6 +6,7 @@ tags: - drupal-theming - drupal - code +use: [posts] --- {% block excerpt %} An example .info file for a Drupal 7 theme. diff --git a/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md b/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md index c6eab5770..fac85e1ba 100644 --- a/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md +++ b/source/_posts/2012-05-24-dividing-drupals-process-and-preprocess-functions.md @@ -7,6 +7,7 @@ tags: - code - theming - preprocessing +use: [posts] --- {% block excerpt %} 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. diff --git a/source/_posts/2012-07-12-my-new-drupal-modules.md b/source/_posts/2012-07-12-my-new-drupal-modules.md index 0134f1c66..515474455 100644 --- a/source/_posts/2012-07-12-my-new-drupal-modules.md +++ b/source/_posts/2012-07-12-my-new-drupal-modules.md @@ -8,6 +8,7 @@ tags: - drupal-7 - drupal-planet - accessibility +use: [posts] --- {% block excerpt %} After a busy few days, I've released two new contrib Drupal modules. diff --git a/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md b/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md index 969c3fbbd..60476d141 100644 --- a/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md +++ b/source/_posts/2012-07-14-install-nomensa-media-player-drupal.md @@ -6,6 +6,7 @@ tags: - drupal - drupal-planet - nomensa +use: [posts] --- {% block excerpt %} 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. diff --git a/source/_posts/2012-07-27-linux-journal.md b/source/_posts/2012-07-27-linux-journal.md index 07f91c256..714855dcb 100644 --- a/source/_posts/2012-07-27-linux-journal.md +++ b/source/_posts/2012-07-27-linux-journal.md @@ -8,6 +8,7 @@ tags: - installation-profiles - writing - linux-journal +use: [posts] --- {% block excerpt %} I'm absolutely delighted to announce that I'm going to be writing an article for [Linux Journal](http://www.linuxjournal.com) magazine's upcoming Drupal special. diff --git a/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md b/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md index 073e7baf7..d5cd04bc4 100644 --- a/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md +++ b/source/_posts/2012-08-18-display-custom-menu-drupal-7-theme-template-file.md @@ -8,6 +8,7 @@ tags: - drupal-planet - php - aria +use: [posts] --- {% block excerpt %} For reference, this is the code needed to display a menu in a Drupal 7 template file, including the navigation ARIA role. diff --git a/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md b/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md index 32f29bfa1..1fe1911a4 100644 --- a/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md +++ b/source/_posts/2012-09-06-reflections-speaking-unifieddiff.md @@ -4,6 +4,7 @@ description: Yesterday evening I went to and spoke at the Sublime Text 2 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. tags: - sublime-text +use: [posts] --- {% block excerpt %} [Sublime Text 2](http://www.sublimetext.com/2) 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. diff --git a/source/_posts/2012-11-15-accessible-bristol-site.md b/source/_posts/2012-11-15-accessible-bristol-site.md index fd9879775..284863270 100644 --- a/source/_posts/2012-11-15-accessible-bristol-site.md +++ b/source/_posts/2012-11-15-accessible-bristol-site.md @@ -5,6 +5,7 @@ tags: - accessibility - accessible-bristol - nomensa +use: [posts] --- {% block excerpt %} I'm happy to announce that the [Accessible Bristol](http://www.accessiblebristol.org.uk) website was launched this week, on Drupal 7. diff --git a/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md b/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md index f057db52e..df2ff0766 100644 --- a/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md +++ b/source/_posts/2012-11-17-open-sublime-text-2-mac-os-x-command-line.md @@ -5,6 +5,7 @@ tags: - sublime-text - mac-os-x - terminal +use: [posts] --- {% block excerpt %} How to open Sublime Text from the command line. diff --git a/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md b/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md index 6a98179bb..f13663953 100644 --- a/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md +++ b/source/_posts/2012-12-06-use-sass-and-compass-drupal-7-using-sassy.md @@ -10,6 +10,7 @@ tags: - less - preprocessing - sass +use: [posts] --- {% block excerpt %} I've recently started using [SASS](http://sass-lang.com) rather than LESS to do my CSS preprocessing - namely due to its integration with [Compass](http://compass-style.org) and it's built-in CSS3 mixins. Here are three modules that provide the ability to use SASS within Drupal. diff --git a/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md b/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md index f3ab9f96c..2a85a9101 100644 --- a/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md +++ b/source/_posts/2013-01-09-checking-if-user-logged-drupal-right-way.md @@ -8,6 +8,7 @@ tags: - drupal-7 - drupal-planet - php +use: [posts] --- {% block excerpt %} 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). diff --git a/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md b/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md index 647a0130a..5b4ed4e01 100644 --- a/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md +++ b/source/_posts/2013-02-16-creating-and-using-custom-tokens-drupal-7.md @@ -6,6 +6,7 @@ tags: - drupal-planet - drupal-7 - tokens +use: [posts] --- {% block excerpt %} This post outlines the steps required to create your own custom tokens in Drupal. diff --git a/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md b/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md index f116e5129..89ecf1b35 100644 --- a/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md +++ b/source/_posts/2013-03-02-quickest-way-install-sublime-text-2-ubuntu.md @@ -5,6 +5,7 @@ tags: - linux - sublime-text - ubuntu +use: [posts] --- {% block excerpt %} After reading numerous blog posts about how to install [Sublime Text 2](http://www.sublimetext.com/2 "Sublime Text 2") in [Ubuntu](http://www.ubuntu.com/2 "Ubuntu"), this is definitely the quickest way! diff --git a/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md b/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md index 869c0d1c4..320b2e987 100644 --- a/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md +++ b/source/_posts/2013-04-20-leaving-nomensa-joining-precedent.md @@ -5,6 +5,7 @@ tags: - nomensa - precedent - personal +use: [posts] --- {% block excerpt %} Yesterday was my last day working at [Nomensa](http://www.nomensa.com "Nomensa"). Next week, I'll be starting as a Senior Developer at [Precedent](http://www.precedent.co.uk "Precedent"). diff --git a/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md b/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md index e6b13d068..f39a8d031 100644 --- a/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md +++ b/source/_posts/2013-04-27-display-git-branch-or-tag-names-your-bash-prompt.md @@ -7,6 +7,7 @@ tags: - drupal-planet - git - terminal +use: [posts] --- {% block excerpt %} Whilst watching [Drupalize.me](http://drupalize.me "Drupalize.me")'s recent [Introduction to Git series](http://drupalize.me/series/introduction-git-series "Introduction to Git on Drupalize.me"), 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. diff --git a/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md b/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md index 8fad14ca5..bdc314abc 100644 --- a/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md +++ b/source/_posts/2013-06-13-some-useful-links-using-simpletest-drupal.md @@ -7,6 +7,7 @@ tags: - test-driven-development - drupal-planet - drupal +use: [posts] --- {% block excerpt %} Here are some useful links that I've found when researching about unit testing in Drupal using SimpleTest. diff --git a/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md b/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md index d140cd190..da2cf78ee 100644 --- a/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md +++ b/source/_posts/2013-07-17-creating-local-and-staging-sites-drupals-domain-module-enabled.md @@ -7,6 +7,7 @@ tags: - databases - domain - table-prefixing +use: [posts] --- {% block excerpt %} The [Domain Access project](https://drupal.org/project/domain "The Domain Access project on Drupal.org") 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. diff --git a/source/_posts/2013-07-26-going-to-drupalcon.md b/source/_posts/2013-07-26-going-to-drupalcon.md index bc5efca29..7ee932a3b 100644 --- a/source/_posts/2013-07-26-going-to-drupalcon.md +++ b/source/_posts/2013-07-26-going-to-drupalcon.md @@ -4,6 +4,7 @@ slug: going-drupalcon tags: - drupalcon - precedent +use: [posts] --- {% block excerpt %} [Precedent](http://www.precedent.co.uk) are sending myself and two of our other Drupal Developers to [Drupalcon Prague](http://prague2013.drupal.org). diff --git a/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md b/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md index 6bc735d33..792e55512 100644 --- a/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md +++ b/source/_posts/2013-09-06-create-zen-sub-theme-using-drush.md @@ -7,6 +7,7 @@ tags: - drush - zen - theming +use: [posts] --- {% block excerpt %} How to use [Drush](https://drupal.org/project/drush) to quickly build a new sub-theme of [Zen](https://drupal.org/project/zen). diff --git a/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md b/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md index 5be50d9b6..17b01d1a2 100644 --- a/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md +++ b/source/_posts/2013-11-19-dont-bootstrap-drupal-use-drush.md @@ -4,6 +4,7 @@ tags: - drush - drupal-planet - php +use: [posts] --- {% block excerpt %} 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 `node_load()` and `db_query()`. diff --git a/source/_posts/2013-11-27-useful-vagrant-commands.md b/source/_posts/2013-11-27-useful-vagrant-commands.md index a93c086cc..368eceeb6 100644 --- a/source/_posts/2013-11-27-useful-vagrant-commands.md +++ b/source/_posts/2013-11-27-useful-vagrant-commands.md @@ -3,6 +3,7 @@ title: Useful Vagrant Commands description: Here are the basic commands that you need to adminster a virtual machine using Vagrant. tags: - vagrant +use: [posts] --- {% block excerpt %} [Vagrant](http://www.vagrantup.com "About Vagrant") is a tool for managing virtual machines within [VirtualBox](https://www.virtualbox.org) from the command line. Here are some useful commands to know when using Vagrant. diff --git a/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md b/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md index 8598dde76..940eb779d 100644 --- a/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md +++ b/source/_posts/2013-12-24-quickly-apply-patches-using-git-and-curl-or-wget.md @@ -4,6 +4,7 @@ description: How to quickly download a patch file and apply it to a Git reposito tags: - git - drupal-planet +use: [posts] --- {% block excerpt %} 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. diff --git a/source/_posts/2013-12-31-download-different-versions-drupal-drush.md b/source/_posts/2013-12-31-download-different-versions-drupal-drush.md index 1ae94bc11..667b15f7f 100644 --- a/source/_posts/2013-12-31-download-different-versions-drupal-drush.md +++ b/source/_posts/2013-12-31-download-different-versions-drupal-drush.md @@ -7,6 +7,7 @@ tags: - drupal-planet - drush +use: [posts] --- {% block excerpt %} If you use [Drush](https://raw.github.com/drush-ops/drush/master/README.md "About Drush"), it's likely that you've used the `drush pm-download` (or `drush dl` 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. diff --git a/source/_posts/2014-01-15-some-useful-git-aliases.md b/source/_posts/2014-01-15-some-useful-git-aliases.md index 5871c5ffb..3dd93caa2 100644 --- a/source/_posts/2014-01-15-some-useful-git-aliases.md +++ b/source/_posts/2014-01-15-some-useful-git-aliases.md @@ -2,6 +2,7 @@ title: Some Useful Git Aliases tags: - git +use: [posts] --- {% block excerpt %} Here are some bash aliases that I use and find helpful for quickly writing Git and Git Flow commands. diff --git a/source/_posts/2014-02-09-drupalcamp-london-2014.md b/source/_posts/2014-02-09-drupalcamp-london-2014.md index 265ae8ad1..12598590a 100644 --- a/source/_posts/2014-02-09-drupalcamp-london-2014.md +++ b/source/_posts/2014-02-09-drupalcamp-london-2014.md @@ -6,6 +6,7 @@ tags: - drupalcamp-london - git - git-flow +use: [posts] --- {% block excerpt %} It's all booked, I'm going to be attending [DrupalCamp London](http://2014.drupalcamplondon.co.uk) this year, my first DrupalCamp! diff --git a/source/_posts/2014-03-03-drupalcamp-london-git-flow.md b/source/_posts/2014-03-03-drupalcamp-london-git-flow.md index a4cdcdfd5..9298be0df 100644 --- a/source/_posts/2014-03-03-drupalcamp-london-git-flow.md +++ b/source/_posts/2014-03-03-drupalcamp-london-git-flow.md @@ -8,6 +8,7 @@ tags: - drupalcamp-london - talks tweets: true +use: [posts] --- {% block excerpt %} Here are my slides from my "What is Git Flow?" session at [DrupalCamp London](http://2014.drupalcamplondon.co.uk). diff --git a/source/_posts/2014-05-03-drupal-association.md b/source/_posts/2014-05-03-drupal-association.md index f074f72b1..1578eb22f 100644 --- a/source/_posts/2014-05-03-drupal-association.md +++ b/source/_posts/2014-05-03-drupal-association.md @@ -3,6 +3,7 @@ title: Drupal Association tags: - drupal - personal +use: [posts] --- {% block excerpt %} Today was my last day working at [Precedent](http://www.precedent.com). Next week, I'll be starting my [new job](https://assoc.drupal.org/node/18923 "Drupal.org Developer") at the [Drupal Association](http://assoc.drupal.org) working on Drupal's home - [Drupal.org](http://www.drupal.org). diff --git a/source/_posts/2014-05-06-thanks.md b/source/_posts/2014-05-06-thanks.md index a852f142e..be6fd85ac 100644 --- a/source/_posts/2014-05-06-thanks.md +++ b/source/_posts/2014-05-06-thanks.md @@ -4,6 +4,7 @@ tags: - drupal - drupal-association - personal +use: [posts] --- {% block excerpt %} This is just a quick post to thank everyone for their comments and congratulations after my previous post about [joining the Drupal Association](/blog/drupal-association/). I’m looking forward to my first day in the job tomorrow. diff --git a/source/_posts/2014-05-21-git-format-patch.md b/source/_posts/2014-05-21-git-format-patch.md index 44f96ee59..4bbb66637 100644 --- a/source/_posts/2014-05-21-git-format-patch.md +++ b/source/_posts/2014-05-21-git-format-patch.md @@ -6,6 +6,7 @@ tags: - drupal - drupal-planet - git +use: [posts] --- {% block excerpt %} An explanation of the "git format-patch" command, and how it could be used in Drupal's Git workflow. diff --git a/source/_posts/2014-07-02-drush-make-drupalbristol.md b/source/_posts/2014-07-02-drush-make-drupalbristol.md index 46978a0c5..80c3b2545 100644 --- a/source/_posts/2014-07-02-drush-make-drupalbristol.md +++ b/source/_posts/2014-07-02-drush-make-drupalbristol.md @@ -6,6 +6,7 @@ tags: - drush-make - drupal-bristol - talks +use: [posts] --- {% block excerpt %} Here are my slides from this month's talk night at the [Drupal Bristol user group](https://groups.drupal.org/bristol-and-west-uk). diff --git a/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md b/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md index 0602d1ee5..a44817d9a 100644 --- a/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md +++ b/source/_posts/2014-10-06-fix-vagrant-loading-wrong-virtual-machine.md @@ -6,6 +6,7 @@ tags: - virtualbox meta: description: How to fix it when Vagrant loads the wrong virtual machine. +use: [posts] --- {% block excerpt %} A few times recently, I've had instances where [Vagrant](https://www.vagrantup.com) 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. diff --git a/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md b/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md index 960108e82..cdf29407d 100644 --- a/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md +++ b/source/_posts/2014-10-21-updating-features-and-adding-components-using-drush.md @@ -6,6 +6,7 @@ tags: - drupal-planet - drush - features +use: [posts] --- {% block excerpt %} If you use the [Features module](http://drupal.org/project/features) 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. diff --git a/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md b/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md index 910659955..08c2d1d32 100644 --- a/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md +++ b/source/_posts/2014-11-18-include-css-fonts-using-sass-each-loop.md @@ -7,6 +7,7 @@ tags: - drupal-planet - fonts - sass +use: [posts] --- {% block excerpt %} How to use an @each loop in SASS to quickly include multiple font files within your stylesheet. diff --git a/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md b/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md index a1166a6a3..7d662ac4e 100644 --- a/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md +++ b/source/_posts/2014-11-20-using-remote-files-when-developing-locally-stage-file-proxy-module.md @@ -4,6 +4,7 @@ tags: - drupal - drupal-planet - servers +use: [posts] --- {% block excerpt %} How to install and configure the [Stage File Proxy](https://www.drupal.org/project/stage_file_proxy) module to serve remote images on your local Drupal site. diff --git a/source/_posts/2014-11-27-pantheon-settings-files.md b/source/_posts/2014-11-27-pantheon-settings-files.md index a2c53a606..cd5295d71 100644 --- a/source/_posts/2014-11-27-pantheon-settings-files.md +++ b/source/_posts/2014-11-27-pantheon-settings-files.md @@ -6,6 +6,7 @@ tags: - drupal-planet - pantheon - settings.php +use: [posts] --- {% block excerpt %} I was recently doing some work on a site hosted on [Pantheon](http://getpantheon.com) and came across an issue, for which part of the suggested fix was to ensure that the `$base_url` variable was explicitly defined within settings.php (this is also best practice on all Drupal sites). diff --git a/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md b/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md index 901f38892..bfba2ab7c 100644 --- a/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md +++ b/source/_posts/2014-12-20-include-local-drupal-settings-file-environment-configuration-and-overrides.md @@ -8,6 +8,7 @@ tags: - drupal-8 - drupal-planet - settings.php +use: [posts] --- {% block excerpt %} 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. diff --git a/source/_posts/2014-12-22-configuring-the-reroute-email-module.md b/source/_posts/2014-12-22-configuring-the-reroute-email-module.md index 466506c46..a83bc7e84 100644 --- a/source/_posts/2014-12-22-configuring-the-reroute-email-module.md +++ b/source/_posts/2014-12-22-configuring-the-reroute-email-module.md @@ -7,6 +7,7 @@ tags: - drupal-planet - email draft: true +use: [posts] --- {% block excerpt %} [Reroute Email](https://www.drupal.org/project/reroute_email) module uses `hook_mail_alter()` 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. diff --git a/source/_posts/2015-03-20-2014.md b/source/_posts/2015-03-20-2014.md index dee94e820..caf8f6926 100644 --- a/source/_posts/2015-03-20-2014.md +++ b/source/_posts/2015-03-20-2014.md @@ -6,6 +6,7 @@ tags: - drupalcamp-london - personal tweets: true +use: [posts] --- {% block excerpt %} A lot happened in 2014. Here are some of the main things that I'd like to highlight. diff --git a/source/_posts/2015-04-03-minimum-core-version.md b/source/_posts/2015-04-03-minimum-core-version.md index 366d14b9f..cd9e3be9c 100644 --- a/source/_posts/2015-04-03-minimum-core-version.md +++ b/source/_posts/2015-04-03-minimum-core-version.md @@ -10,6 +10,7 @@ meta: title: 'How to Define a Minimum Drupal Core Version' description: 'How to define a minimum Drupal core version for your module or theme.' type: article +use: [posts] --- This week, my first code patch was [committed to Drupal core](https://www.drupal.org/node/2394517#comment-9773143). 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 project, but it's now available in Drupal core as of [7.36](https://www.drupal.org/drupal-7.36-release-notes). diff --git a/source/_posts/2015-06-18-updating-forked-github-repos.md b/source/_posts/2015-06-18-updating-forked-github-repos.md index 16fe48483..2847fd0f2 100644 --- a/source/_posts/2015-06-18-updating-forked-github-repos.md +++ b/source/_posts/2015-06-18-updating-forked-github-repos.md @@ -8,6 +8,7 @@ tags: - github - phpstorm - sculpin +use: [posts] --- {% block content %} ## Sculpin diff --git a/source/_posts/2015-07-19-sculpin-resources.md b/source/_posts/2015-07-19-sculpin-resources.md index 8409fbe09..3a2565383 100644 --- a/source/_posts/2015-07-19-sculpin-resources.md +++ b/source/_posts/2015-07-19-sculpin-resources.md @@ -9,6 +9,7 @@ tags: - drupalcamp-north - twig slug: sculpin-twig-resources +use: [posts] --- {% block excerpt %} Here’s a list of resources that I compiled whilst preparing for my [Sculpin and Twig talk](http://drupalcampnorth.org/session/test-drive-twig-sculpin) at [DrupalCamp North](http://drupalcampnorth.org). diff --git a/source/_posts/2015-07-21-automating-sculpin-with-jenkins.md b/source/_posts/2015-07-21-automating-sculpin-with-jenkins.md index da923c68f..c209d027c 100644 --- a/source/_posts/2015-07-21-automating-sculpin-with-jenkins.md +++ b/source/_posts/2015-07-21-automating-sculpin-with-jenkins.md @@ -5,6 +5,7 @@ tags: - sculpin - jenkins slug: automating-sculpin-jenkins +use: [posts] --- As part of re-building this site with [Sculpin](http://sculpin.io), I wanted to automate the deployments, as in I wouldn't need to run a script like [publish.sh](https://raw.githubusercontent.com/sculpin/sculpin-blog-skeleton/master/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, rather than update, commit, push and deploy), but if I wanted to make a quick edit or hotfix, I could log into GitHub or Bitbucket (wherever I decided to host the source code) from any computer or my phone, make the change and have it deployed for me. diff --git a/source/_posts/2015-12-22-entityform.md b/source/_posts/2015-12-22-entityform.md index 20829da1a..d311fb925 100644 --- a/source/_posts/2015-12-22-entityform.md +++ b/source/_posts/2015-12-22-entityform.md @@ -7,6 +7,7 @@ tags: - entityform meta: description: How to programmatically load, render and embed an entityform in Drupal 7. +use: [posts] --- {% block excerpt %} I recently had my first experience using the [Entityform module](https://www.drupal.org/project/entityform) 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 `drupal_get_form()` function and render it, but this didn’t work. diff --git a/source/_posts/2016-02-15-announcing-the-drupal-vm-generator.md b/source/_posts/2016-02-15-announcing-the-drupal-vm-generator.md index 882ca06f5..fcf03ea9b 100644 --- a/source/_posts/2016-02-15-announcing-the-drupal-vm-generator.md +++ b/source/_posts/2016-02-15-announcing-the-drupal-vm-generator.md @@ -5,6 +5,7 @@ tags: - drupal-planet - drupal-vm - symfony +use: [posts] --- {% block excerpt %} For the past few weeks I’ve been working on a personal side project, based on Drupal VM. It’s called the [Drupal VM Generator][1], and over the weekend I’ve added the final features and fixed the remaining issues, and tagged the 1.0.0 release. diff --git a/source/_posts/2016-05-03-simplifying-drupal-migrations-with-xautoload.md b/source/_posts/2016-05-03-simplifying-drupal-migrations-with-xautoload.md index 52d84c26c..bbe0ec255 100644 --- a/source/_posts/2016-05-03-simplifying-drupal-migrations-with-xautoload.md +++ b/source/_posts/2016-05-03-simplifying-drupal-migrations-with-xautoload.md @@ -6,6 +6,7 @@ tags: - drupal-planet - drupal-7 - php +use: [posts] --- {% block excerpt %} How to use the [xautoload][1] module to autoload migration classes within your Drupal 7 migration modules. diff --git a/source/_posts/2016-07-15-building-gmail-filters-in-php.md b/source/_posts/2016-07-15-building-gmail-filters-in-php.md index 93bcd21e8..a7ff7f119 100644 --- a/source/_posts/2016-07-15-building-gmail-filters-in-php.md +++ b/source/_posts/2016-07-15-building-gmail-filters-in-php.md @@ -3,6 +3,7 @@ title: Building Gmail Filters with PHP tags: - php - gmail +use: [posts] --- Earlier this week I wrote a small PHP library called [GmailFilterBuilder][0] that allows you to write Gmail filters in PHP and export them to XML. diff --git a/source/accessibility.md b/source/accessibility.md index cb9d207cb..ac49a1439 100644 --- a/source/accessibility.md +++ b/source/accessibility.md @@ -1,6 +1,7 @@ --- layout: default title: Accessibility +use: [posts] --- # Accessibility diff --git a/source/blog.html b/source/blog.html index 7d9992311..04f980d23 100644 --- a/source/blog.html +++ b/source/blog.html @@ -4,8 +4,7 @@ title: Blog generator: pagination pagination: max_per_page: 10 -use: - - posts +use: [posts] --- {% block content %}

Blog

diff --git a/source/company-information.md b/source/company-information.md index 1ea1d01b1..273c503de 100644 --- a/source/company-information.md +++ b/source/company-information.md @@ -3,6 +3,7 @@ layout: default title: Company Information meta: description: 'Company information for Oliver Davies Ltd.' +use: [posts] --- # Company Information diff --git a/source/contact-thanks.md b/source/contact-thanks.md index 71049bf01..e1444f62f 100644 --- a/source/contact-thanks.md +++ b/source/contact-thanks.md @@ -2,5 +2,6 @@ layout: page title: Thanks! permalink: contact/thanks/ +use: [posts] --- Your email has been sent. You should receive a response within the next working day. diff --git a/source/contact.html.twig b/source/contact.html.twig index f78aabcca..474c785cd 100644 --- a/source/contact.html.twig +++ b/source/contact.html.twig @@ -1,6 +1,7 @@ --- title: Contact layout: page +use: [posts] --- {% block content %}

To send me an email, complete the form below.

diff --git a/source/experience.html.twig b/source/experience.html.twig index e3f3fe383..6f9cddb51 100644 --- a/source/experience.html.twig +++ b/source/experience.html.twig @@ -80,6 +80,7 @@ experiences: end: 2011 description: |

Maintaining and adding new features to the Horse & Country TV website (Drupal 6).

+use: [posts] ---

Experience

diff --git a/source/index.md b/source/index.md index 20eec547f..37a0d02ac 100644 --- a/source/index.md +++ b/source/index.md @@ -21,8 +21,7 @@ tools: - { title: CentOS, website: https://www.centos.org/about } - { title: Git, website: http://git-scm.com } - { title: Ansible, website: http://www.ansible.com } -use: - - posts +use: [posts] --- # About Me diff --git a/source/projects.html.twig b/source/projects.html.twig index e779a817d..4a134bd19 100644 --- a/source/projects.html.twig +++ b/source/projects.html.twig @@ -1,8 +1,7 @@ --- layout: page title: Projects -use: - - projects +use: [projects, posts] ---