Add active classes based on the URL
This commit is contained in:
parent
e1d01a2714
commit
b1ba8f201a
|
@ -97,13 +97,6 @@ latest_posts: 3
|
||||||
linkedin:
|
linkedin:
|
||||||
url: http://uk.linkedin.com/in/opdavies
|
url: http://uk.linkedin.com/in/opdavies
|
||||||
|
|
||||||
main_menu:
|
|
||||||
about: { href: /, title: About }
|
|
||||||
talks: { href: /talks/, title: Talks }
|
|
||||||
experience: { href: /experience/, title: Experience }
|
|
||||||
blog: { href: /blog/, title: Blog }
|
|
||||||
contact: { href: /contact/, title: Contact }
|
|
||||||
|
|
||||||
meetups:
|
meetups:
|
||||||
drupalbristol:
|
drupalbristol:
|
||||||
name: Drupal Bristol
|
name: Drupal Bristol
|
||||||
|
|
|
@ -12,11 +12,25 @@
|
||||||
|
|
||||||
<div id="navbar" class="collapse navbar-collapse" role="navigation">
|
<div id="navbar" class="collapse navbar-collapse" role="navigation">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
{% for id, link in site.main_menu %}
|
<li class="{{ page.url == '/.' ? 'active' }}">
|
||||||
<li class="{{ page.nav == id ? 'active' }}">
|
<a href="/">About</a>
|
||||||
<a href="{{ site.url }}{{ link.href }}">{{ link.title }}</a>
|
</li>
|
||||||
|
|
||||||
|
<li class="{{ page.url == '/talks' or '/talks/' in page.url ? 'active' }}">
|
||||||
|
<a href="/talks/">Talks</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="{{ page.url == '/experience' ? 'active' }}">
|
||||||
|
<a href="/experience/">Experience</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="{{ page.url == '/blog' or '/blog/' in page.url ? 'active' }}">
|
||||||
|
<a href="/blog/">Blog</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li class="{{ page.url == '/contact' or '/contact-' in page.url ? 'active' }}">
|
||||||
|
<a href="/contact/">Contact</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>{# .nav-collapse #}
|
</div>{# .nav-collapse #}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Style Drupal 6's Taxonomy Lists with PHP, CSS and jQuery
|
title: Style Drupal 6's Taxonomy Lists with PHP, CSS and jQuery
|
||||||
slug: style-drupal-6s-taxonomy-lists-php-css-and-jquery
|
slug: style-drupal-6s-taxonomy-lists-php-css-and-jquery
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Using ImageCache and ImageCrop for my Portfolio
|
title: Using ImageCache and ImageCrop for my Portfolio
|
||||||
slug: using-imagecache-and-imagecrop-my-portfolio
|
slug: using-imagecache-and-imagecrop-my-portfolio
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Conditional Email Addresses in a Webform
|
title: Conditional Email Addresses in a Webform
|
||||||
slug: conditional-email-addresses-webform
|
slug: conditional-email-addresses-webform
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Quickly Create Zen Subthemes Using Zenophile
|
title: Quickly Create Zen Subthemes Using Zenophile
|
||||||
tags:
|
tags:
|
||||||
- drupal-planet
|
- drupal-planet
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Slideshow of Multiple Images Using Fancy Slide
|
title: Create a Slideshow of Multiple Images Using Fancy Slide
|
||||||
slug: create-slideshow-multiple-images-using-fancy-slide
|
slug: create-slideshow-multiple-images-using-fancy-slide
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Quickly Import Multiples Images Using the Imagefield_Import Module
|
title: Quickly Import Multiples Images Using the Imagefield_Import Module
|
||||||
slug: quickly-import-multiples-images-using-imagefieldimport-module
|
slug: quickly-import-multiples-images-using-imagefieldimport-module
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Improve JPG Quality in Imagecache and ImageAPI
|
title: Improve JPG Quality in Imagecache and ImageAPI
|
||||||
slug: improve-jpg-quality-imagecache-and-imageapi
|
slug: improve-jpg-quality-imagecache-and-imageapi
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Block of Social Media Icons using CCK, Views and Nodequeue
|
title: Create a Block of Social Media Icons using CCK, Views and Nodequeue
|
||||||
slug: create-block-social-media-icons-using-cck-views-and-nodequeue
|
slug: create-block-social-media-icons-using-cck-views-and-nodequeue
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: 10 Useful Drupal 6 Modules
|
title: 10 Useful Drupal 6 Modules
|
||||||
tags:
|
tags:
|
||||||
- drupal-planet
|
- drupal-planet
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Flickr Photo Gallery Using Feeds, CCK and Views
|
title: Create a Flickr Photo Gallery Using Feeds, CCK and Views
|
||||||
slug: create-flickr-photo-gallery-using-feeds-cck-and-views
|
slug: create-flickr-photo-gallery-using-feeds-cck-and-views
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Change the Content Type of Multiple Nodes Using SQL
|
title: Change the Content Type of Multiple Nodes Using SQL
|
||||||
slug: change-content-type-multiple-nodes-using-sql
|
slug: change-content-type-multiple-nodes-using-sql
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create Virtual Hosts on Mac OS X Using VirtualHostX
|
title: Create Virtual Hosts on Mac OS X Using VirtualHostX
|
||||||
slug: create-virtual-hosts-mac-os-x-using-virtualhostx
|
slug: create-virtual-hosts-mac-os-x-using-virtualhostx
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Add a Taxonomy Term to Multiple Nodes Using SQL
|
title: Add a Taxonomy Term to Multiple Nodes Using SQL
|
||||||
slug: add-taxonomy-term-multiple-nodes-using-sql
|
slug: add-taxonomy-term-multiple-nodes-using-sql
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Review of the Teleport Module
|
title: Review of the Teleport Module
|
||||||
slug: review-teleport-module
|
slug: review-teleport-module
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Review of the Admin:hover Module
|
title: Review of the Admin:hover Module
|
||||||
slug: review-adminhover-module
|
slug: review-adminhover-module
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Better Photo Gallery in Drupal - Part 1
|
title: Create a Better Photo Gallery in Drupal - Part 1
|
||||||
slug: create-better-photo-gallery-drupal-part-1
|
slug: create-better-photo-gallery-drupal-part-1
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Better Photo Gallery in Drupal - Part 2
|
title: Create a Better Photo Gallery in Drupal - Part 2
|
||||||
slug: create-better-photo-gallery-drupal-part-2
|
slug: create-better-photo-gallery-drupal-part-2
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Review of the Image Caption Module
|
title: Review of the Image Caption Module
|
||||||
slug: review-image-caption-module
|
slug: review-image-caption-module
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: The Inaugural Meetup for the South Wales Drupal User Group
|
title: The Inaugural Meetup for the South Wales Drupal User Group
|
||||||
slug: south-wales-drupal-user-group
|
slug: south-wales-drupal-user-group
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: How to Create and Apply Patches
|
title: How to Create and Apply Patches
|
||||||
slug: create-and-apply-patches
|
slug: create-and-apply-patches
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Better Photo Gallery in Drupal - Part 3
|
title: Create a Better Photo Gallery in Drupal - Part 3
|
||||||
slug: create-better-photo-gallery-drupal-part-3
|
slug: create-better-photo-gallery-drupal-part-3
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Better Photo Gallery in Drupal - Part 2.1
|
title: Create a Better Photo Gallery in Drupal - Part 2.1
|
||||||
slug: create-better-photo-gallery-drupal-part-21
|
slug: create-better-photo-gallery-drupal-part-21
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Use Regular Expressions to Search and Replace in Coda or TextMate
|
title: Use Regular Expressions to Search and Replace in Coda or TextMate
|
||||||
slug: use-regular-expressions-search-and-replace-coda-or-textmate
|
slug: use-regular-expressions-search-and-replace-coda-or-textmate
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Easily Embed TypeKit Fonts into your Drupal Website
|
title: Easily Embed TypeKit Fonts into your Drupal Website
|
||||||
slug: easily-embed-typekit-fonts-your-drupal-website
|
slug: easily-embed-typekit-fonts-your-drupal-website
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Proctor & Stevenson
|
title: Proctor & Stevenson
|
||||||
slug: proctor-stevenson
|
slug: proctor-stevenson
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Proctors Hosting the next Drupal Meetup
|
title: Proctors Hosting the next Drupal Meetup
|
||||||
slug: proctors-hosting-next-drupal-meetup
|
slug: proctors-hosting-next-drupal-meetup
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Imagefield Import Archive
|
title: Imagefield Import Archive
|
||||||
tags:
|
tags:
|
||||||
- drupal-planet
|
- drupal-planet
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create Multigroups in Drupal 7 using Field Collections
|
title: Create Multigroups in Drupal 7 using Field Collections
|
||||||
slug: create-multigroups-drupal-7-using-field-collections
|
slug: create-multigroups-drupal-7-using-field-collections
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: How to Install and Configure Subversion (SVN) Server on Ubuntu
|
title: How to Install and Configure Subversion (SVN) Server on Ubuntu
|
||||||
slug: install-and-configure-subversion-svn-server-ubuntu
|
slug: install-and-configure-subversion-svn-server-ubuntu
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Site Upgraded to Drupal 7
|
title: Site Upgraded to Drupal 7
|
||||||
slug: site-upgraded-drupal-7
|
slug: site-upgraded-drupal-7
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: How to use Authorized Keys to Create a Passwordless SSH Connection
|
title: How to use Authorized Keys to Create a Passwordless SSH Connection
|
||||||
slug: use-authorized-keys-create-passwordless-ssh-connection
|
slug: use-authorized-keys-create-passwordless-ssh-connection
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create an Omega Subtheme with LESS CSS Preprocessor using Omega Tools and Drush
|
title: Create an Omega Subtheme with LESS CSS Preprocessor using Omega Tools and Drush
|
||||||
slug: create-omega-subtheme-less-css-preprocessor-using-omega-tools-and-drush
|
slug: create-omega-subtheme-less-css-preprocessor-using-omega-tools-and-drush
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Installing Nagios on CentOS
|
title: Installing Nagios on CentOS
|
||||||
slug: installing-nagios-centos
|
slug: installing-nagios-centos
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Adding Custom Theme Templates in Drupal 7
|
title: Adding Custom Theme Templates in Drupal 7
|
||||||
description: >
|
description: >
|
||||||
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.
|
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.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Prevent Apache from displaying text files within a web browser
|
title: Prevent Apache from displaying text files within a web browser
|
||||||
slug: prevent-apache-displaying-text-files-within-web-browser
|
slug: prevent-apache-displaying-text-files-within-web-browser
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Checkout a specific revision from SVN from the command line
|
title: Checkout a specific revision from SVN from the command line
|
||||||
slug: checkout-specific-revision-svn-command-line
|
slug: checkout-specific-revision-svn-command-line
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: How to add a date popup calendar onto a custom form
|
title: How to add a date popup calendar onto a custom form
|
||||||
slug: add-date-popup-calendar-custom-form
|
slug: add-date-popup-calendar-custom-form
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Forward one domain to another using mod_rewrite and .htaccess
|
title: Forward one domain to another using mod_rewrite and .htaccess
|
||||||
slug: forward-one-domain-another-using-modrewrite-and-htaccess
|
slug: forward-one-domain-another-using-modrewrite-and-htaccess
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Writing a .info file for a Drupal 7 theme
|
title: Writing a .info file for a Drupal 7 theme
|
||||||
slug: writing-info-file-drupal-7-theme
|
slug: writing-info-file-drupal-7-theme
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Dividing Drupal's process and preprocess functions into separate files
|
title: Dividing Drupal's process and preprocess functions into separate files
|
||||||
description: 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. Following the example of the Omega theme, I've started separating my process and preprocess functions into their own files.
|
description: 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. Following the example of the Omega theme, I've started separating my process and preprocess functions into their own files.
|
||||||
slug: dividing-drupals-process-and-preprocess-functions-separate-files
|
slug: dividing-drupals-process-and-preprocess-functions-separate-files
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: My new Drupal modules
|
title: My new Drupal modules
|
||||||
description: After a busy few days, I've released two new contrib Drupal modules.
|
description: After a busy few days, I've released two new contrib Drupal modules.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Install and Configure the Nomensa Accessible Media Player in Drupal
|
title: Install and Configure the Nomensa Accessible Media Player in Drupal
|
||||||
slug: install-nomensa-media-player-drupal
|
slug: install-nomensa-media-player-drupal
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Writing an Article for Linux Journal
|
title: Writing an Article for Linux Journal
|
||||||
description: I'm absolutely delighted to announce that I'm going to be writing an article for Linux Journal magazine's upcoming Drupal special.
|
description: I'm absolutely delighted to announce that I'm going to be writing an article for Linux Journal magazine's upcoming Drupal special.
|
||||||
slug: writing-article-linux-journal
|
slug: writing-article-linux-journal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Display a Custom Menu in a Drupal 7 Theme Template File
|
title: Display a Custom Menu in a Drupal 7 Theme Template File
|
||||||
description: For reference, this is the code needed to display a menu in a Drupal 7 template file.
|
description: For reference, this is the code needed to display a menu in a Drupal 7 template file.
|
||||||
slug: display-custom-menu-drupal-7-theme-template-file
|
slug: display-custom-menu-drupal-7-theme-template-file
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Reflections on speaking at UnifiedDiff
|
title: Reflections on speaking at UnifiedDiff
|
||||||
description: Yesterday evening I went to and spoke at the <a href="http://www.unifieddiff.co.uk" title="UnifiedDiff">UnifiedDiff meetup</a> in Cardiff, having offered previously to do a presentation providing an introduction to Drupal.
|
description: Yesterday evening I went to and spoke at the <a href="http://www.unifieddiff.co.uk" title="UnifiedDiff">UnifiedDiff meetup</a> in Cardiff, having offered previously to do a presentation providing an introduction to Drupal.
|
||||||
slug: reflections-speaking-unifieddiff
|
slug: reflections-speaking-unifieddiff
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: My Sublime Text 2 settings
|
title: My Sublime Text 2 settings
|
||||||
description: <a href="http://www.sublimetext.com/2" title="Sublime Text 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.
|
description: <a href="http://www.sublimetext.com/2" title="Sublime Text 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.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Accessible Bristol site launched
|
title: Accessible Bristol site launched
|
||||||
description: I'm happy to report that the Accessible Bristol was launched this week, on Drupal 7.
|
description: I'm happy to report that the Accessible Bristol was launched this week, on Drupal 7.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Open Sublime Text 2 from the Mac OS X Command Line
|
title: Open Sublime Text 2 from the Mac OS X Command Line
|
||||||
slug: open-sublime-text-2-mac-os-x-command-line
|
slug: open-sublime-text-2-mac-os-x-command-line
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: How to use SASS and Compass in Drupal 7 using Sassy
|
title: How to use SASS and Compass in Drupal 7 using Sassy
|
||||||
slug: use-sass-and-compass-drupal-7-using-sassy
|
slug: use-sass-and-compass-drupal-7-using-sassy
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Checking if a user is logged into Drupal (the right way)
|
title: Checking if a user is logged into Drupal (the right way)
|
||||||
description: How to check if a user is logged into Drupal by using the user_is_logged_in() and user_is_anonymous() functions.
|
description: How to check if a user is logged into Drupal by using the user_is_logged_in() and user_is_anonymous() functions.
|
||||||
slug: checking-if-user-logged-drupal-right-way
|
slug: checking-if-user-logged-drupal-right-way
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Creating and using custom tokens in Drupal 7
|
title: Creating and using custom tokens in Drupal 7
|
||||||
slug: creating-and-using-custom-tokens-drupal-7
|
slug: creating-and-using-custom-tokens-drupal-7
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: The Quickest way to Install Sublime Text 2 in Ubuntu
|
title: The Quickest way to Install Sublime Text 2 in Ubuntu
|
||||||
slug: quickest-way-install-sublime-text-2-ubuntu
|
slug: quickest-way-install-sublime-text-2-ubuntu
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Leaving Nomensa, Joining Precedent
|
title: Leaving Nomensa, Joining Precedent
|
||||||
description: Yesterday was my last day working at Nomensa. Next week, I'll be starting as a Senior Developer at Precedent.
|
description: Yesterday was my last day working at Nomensa. Next week, I'll be starting as a Senior Developer at Precedent.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Display Git Branch or Tag Names in your Bash Prompt
|
title: Display Git Branch or Tag Names in your Bash Prompt
|
||||||
description: Whilst watching Drupalize.me's recent Introduction to Git series, 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.
|
description: Whilst watching Drupalize.me's recent Introduction to Git series, 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.
|
||||||
slug: display-git-branch-or-tag-names-your-bash-prompt
|
slug: display-git-branch-or-tag-names-your-bash-prompt
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Some useful links for using SimpleTest in Drupal
|
title: Some useful links for using SimpleTest in Drupal
|
||||||
slug: some-useful-links-using-simpletest-drupal
|
slug: some-useful-links-using-simpletest-drupal
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Creating Local and Staging sites with Drupal's Domain Module Enabled
|
title: Creating Local and Staging sites with Drupal's Domain Module Enabled
|
||||||
slug: creating-local-and-staging-sites-drupals-domain-module-enabled
|
slug: creating-local-and-staging-sites-drupals-domain-module-enabled
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Going to DrupalCon
|
title: Going to DrupalCon
|
||||||
slug: going-drupalcon
|
slug: going-drupalcon
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Create a Zen Sub-theme Using Drush
|
title: Create a Zen Sub-theme Using Drush
|
||||||
description: How to quickly create a Zen sub-theme using Drush.
|
description: How to quickly create a Zen sub-theme using Drush.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Don't Bootstrap Drupal, Use Drush
|
title: Don't Bootstrap Drupal, Use Drush
|
||||||
tags:
|
tags:
|
||||||
- drush
|
- drush
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Useful Vagrant Commands
|
title: Useful Vagrant Commands
|
||||||
description: Here are the basic commands that you need to adminster a virtual machine using <a href="http://vagrantup.com" title="The Vagrant Home page">Vagrant</a>.
|
description: Here are the basic commands that you need to adminster a virtual machine using <a href="http://vagrantup.com" title="The Vagrant Home page">Vagrant</a>.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Quickly Apply Patches Using Git and curl or wget
|
title: Quickly Apply Patches Using Git and curl or wget
|
||||||
description: How to quickly download a patch file and apply it to a Git repository in one line
|
description: How to quickly download a patch file and apply it to a Git repository in one line
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Download Different Versions of Drupal with Drush
|
title: Download Different Versions of Drupal with Drush
|
||||||
description: How to download different versions of Drupal core using Drush.
|
description: How to download different versions of Drupal core using Drush.
|
||||||
slug: download-different-versions-drupal-drush
|
slug: download-different-versions-drupal-drush
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Some Useful Git Aliases
|
title: Some Useful Git Aliases
|
||||||
tags:
|
tags:
|
||||||
- git
|
- git
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: DrupalCamp London 2014
|
title: DrupalCamp London 2014
|
||||||
description: It's all booked, I'm going to be attending DrupalCamp London.
|
description: It's all booked, I'm going to be attending DrupalCamp London.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: DrupalCamp London: What is Git Flow?
|
title: DrupalCamp London: What is Git Flow?
|
||||||
description: Slides and notes from my talk, "What is Git Flow?", that I presented at DrupalCamp London 2014.
|
description: Slides and notes from my talk, "What is Git Flow?", that I presented at DrupalCamp London 2014.
|
||||||
slug: what-git-flow
|
slug: what-git-flow
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Drupal Association
|
title: Drupal Association
|
||||||
tags:
|
tags:
|
||||||
- drupal
|
- drupal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Thanks
|
title: Thanks
|
||||||
tags:
|
tags:
|
||||||
- drupal
|
- drupal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: git format-patch is your Friend
|
title: git format-patch is your Friend
|
||||||
slug: git-format-patch
|
slug: git-format-patch
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: drush make drupalbristol
|
title: drush make drupalbristol
|
||||||
tags:
|
tags:
|
||||||
- drupal
|
- drupal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: How to fix Vagrant Loading the Wrong Virtual Machine
|
title: How to fix Vagrant Loading the Wrong Virtual Machine
|
||||||
slug: fix-vagrant-loading-wrong-virtual-machine
|
slug: fix-vagrant-loading-wrong-virtual-machine
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Updating Features and Adding Components Using Drush
|
title: Updating Features and Adding Components Using Drush
|
||||||
slug: updating-features-and-adding-components-using-drush
|
slug: updating-features-and-adding-components-using-drush
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Include CSS Fonts by Using a SASS each Loop
|
title: Include CSS Fonts by Using a SASS each Loop
|
||||||
description: How to use an SASS each loop to easily add multiple fonts to your CSS.
|
description: How to use an SASS each loop to easily add multiple fonts to your CSS.
|
||||||
slug: include-css-fonts-using-sass-each-loop
|
slug: include-css-fonts-using-sass-each-loop
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Using Remote Files when Developing Locally with Stage File Proxy Module
|
title: Using Remote Files when Developing Locally with Stage File Proxy Module
|
||||||
tags:
|
tags:
|
||||||
- drupal
|
- drupal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Include environment-specific settings files on Pantheon
|
title: Include environment-specific settings files on Pantheon
|
||||||
slug: pantheon-settings-files
|
slug: pantheon-settings-files
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Include a Local Drupal Settings file for Environment Configuration and Overrides
|
title: Include a Local Drupal Settings file for Environment Configuration and Overrides
|
||||||
slug: include-local-drupal-settings-file-environment-configuration-and-overrides
|
slug: include-local-drupal-settings-file-environment-configuration-and-overrides
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Configuring the Reroute Email Module
|
title: Configuring the Reroute Email Module
|
||||||
tags:
|
tags:
|
||||||
- drupal
|
- drupal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: 2014
|
title: 2014
|
||||||
description: A look back at 2014.
|
description: A look back at 2014.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: How to Define a Minimum Drupal Core Version
|
title: How to Define a Minimum Drupal Core Version
|
||||||
description: How to define a minimum Drupal core version for your module or theme.
|
description: How to define a minimum Drupal core version for your module or theme.
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Updating Forked Repositories on GitHub
|
title: Updating Forked Repositories on GitHub
|
||||||
date: 2015-06-18 11:35:00
|
date: 2015-06-18 11:35:00
|
||||||
meta:
|
meta:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Sculpin and Twig Resources
|
title: Sculpin and Twig Resources
|
||||||
date: 2015-07-19
|
date: 2015-07-19
|
||||||
meta:
|
meta:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Automating Sculpin Builds with Jenkins CI
|
title: Automating Sculpin Builds with Jenkins CI
|
||||||
date: 2015-07-21
|
date: 2015-07-21
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: blog
|
|
||||||
title: Programmatically Load an Entityform in Drupal 7
|
title: Programmatically Load an Entityform in Drupal 7
|
||||||
tags:
|
tags:
|
||||||
- drupal
|
- drupal
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Announcing the Drupal VM Generator
|
title: Announcing the Drupal VM Generator
|
||||||
nav: blog
|
|
||||||
tags:
|
tags:
|
||||||
- drupal
|
- drupal
|
||||||
- drupal-planet
|
- drupal-planet
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
title: Simplifying Drupal Migrations with xautoload
|
title: Simplifying Drupal Migrations with xautoload
|
||||||
nav: blog
|
|
||||||
tags:
|
tags:
|
||||||
- autoloading
|
- autoloading
|
||||||
- drupal
|
- drupal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: So, what is this Drupal thing?
|
title: So, what is this Drupal thing?
|
||||||
event:
|
event:
|
||||||
name: Unified Diff
|
name: Unified Diff
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Drupal and the LDAP Module
|
title: Drupal and the LDAP Module
|
||||||
event:
|
event:
|
||||||
name: SWDUG (South Wales Drupal user group)
|
name: SWDUG (South Wales Drupal user group)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Never Commit to Master - An Introduction to Git Flow
|
title: Never Commit to Master - An Introduction to Git Flow
|
||||||
event:
|
event:
|
||||||
name: DrupalCamp London 2014
|
name: DrupalCamp London 2014
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: drush make drupalbristol
|
title: drush make drupalbristol
|
||||||
event:
|
event:
|
||||||
name: Bristol Drupal
|
name: Bristol Drupal
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: About the Drupal Association
|
title: About the Drupal Association
|
||||||
event:
|
event:
|
||||||
name: SWDUG
|
name: SWDUG
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Drupal.org in 2015: What's Coming Next
|
title: Drupal.org in 2015: What's Coming Next
|
||||||
event:
|
event:
|
||||||
name: DrupalCamp Brighton 2015
|
name: DrupalCamp Brighton 2015
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Drupal.org in 2015: What's Coming Next
|
title: Drupal.org in 2015: What's Coming Next
|
||||||
event:
|
event:
|
||||||
name: DrupalCamp London 2015
|
name: DrupalCamp London 2015
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Drupal 8
|
title: Drupal 8
|
||||||
event:
|
event:
|
||||||
name: PHPSW
|
name: PHPSW
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Test Drive Twig with Sculpin
|
title: Test Drive Twig with Sculpin
|
||||||
event:
|
event:
|
||||||
name: DrupalCamp North 2015
|
name: DrupalCamp North 2015
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Dancing for Drupal
|
title: Dancing for Drupal
|
||||||
event:
|
event:
|
||||||
name: umBristol (Bristol Umbraco user group)
|
name: umBristol (Bristol Umbraco user group)
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Building Static Websites with Sculpin
|
title: Building Static Websites with Sculpin
|
||||||
event:
|
event:
|
||||||
name: PHPSW
|
name: PHPSW
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Getting Started with Drupal 8 Module Development
|
title: Getting Started with Drupal 8 Module Development
|
||||||
event:
|
event:
|
||||||
name: DrupalCamp London 2016
|
name: DrupalCamp London 2016
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Drupal VM Generator
|
title: Drupal VM Generator
|
||||||
event:
|
event:
|
||||||
name: NWDUG
|
name: NWDUG
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
nav: talks
|
|
||||||
title: Drupal VM Generator
|
title: Drupal VM Generator
|
||||||
event:
|
event:
|
||||||
name: Drupal Bristol
|
name: Drupal Bristol
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue