Filter content in a Drupal View with AJAX

When displaying Drupal content through Views you’d sometimes like the user to be able to dynamically filter the content from a list of links. Ajax is already part of Drupal 8 Views. This is how you change the default <select> list into themable links. In a previous … Continued

Sanitize names of uploaded files in WordPress

Nothing worse than user contributed image files with strange (non-english) characters in the file name right? Here’s what you can do about it in WordPress. If you are working with WordPress Sites in non-english languages, like for instance Swedish, like … Continued

Installing PhantomJS on CentOS 5.8 VPS

Start by checking for the current version here: http://phantomjs.org/download.html   Logged in as root on your server, type the following to get the file wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 Unpack it by using bzip2 -dk phantomjs-1.9.7-linux-x86_64.tar.bz2 And then tar xvf phantomjs-1.9.7-linux-x86_64.tar Copy the phantomjs to … Continued

Adding Font Awesome to Drupal Bootstrap subtheme

Need those awesome font-awesome fonts in your custom Bootstrap based Drupal theme? I know I do. Here’s how you do it. 1. Download Font Awesome http://fortawesome.github.io/Font-Awesome/ 2. Put the expanded folder in your theme’s folder 3. Add the preprocess html function … Continued

Sketch app keyboard shortcuts

Basics and/or hidden Z Zoom tool (hold down and click or drag an area) Escape Exit every mode, tool, selection Space Hand Tool Enter Edit currently selected layer Tab Cycle through layers in the current group (useful when renaming) Shift Tab Reverse cycle ⌥ drag duplicate a … Continued

SEO checklist for Drupal

I frequently get asked by clients what can be done to Search Engine Optimize their Drupal site. Here’s a list of things that you should check to make sure that the technical foundation is in place for your site to … Continued

Notes from DrupalCon Portland, May 2013

Ok, so these are my raw notes from DrupalCon Portland. I doubt they will be of much use to anyone but myself. But this web site is mainly for my personal notes, so hopefully I will enjoy them. Notes from DrupalCon Portland … Continued