Sometimes the small tips are the nicest. If you own a smartphone or tablet it can be annoying to enter an email address in a regular textfield. If you fill out a form and select the email field you expect a virtual keyboard layout suited for filling in email addresses, not your default keyboard layout. The simple trick to get this field to behave is to use the correct HTML5 tag.
This website looks slightly different than it did yesterday. As a proof of concept I’ve made some changes to the header image and colour scheme. The very basic outline of the Code Culture logo allows it to be overlaid on any image (that isn’t too white). I’ve created a custom Drupal module which extracts a colour palette from any uploaded image. The 5 selected colors need to be distinct enough to form a palette. With some colour adaptations these 5 selected colours are used for generic things such as the breadcrumbs, link colours, and the striped background.
I’m back at testing the Drupal BlogApi. The XMLRPC blogapi used to be a core module in Drupal 6. But in Drupal 7 this module has been moved to contrib (ie, it’s no longer part of the Drupal core). But… the contrib module has been in an unstable state for some years now. Enter the Alternative Blogapi contrib module. It sounds daft to have 2 blog api modules in contrib (and it is). But at least this alternative is working (sort of).
For Amsterdam based hosting provider Byte I've written a short dutch tutorial on how to configure Redis cache on a Drupal 7 site on their hosting platform. Below the gist:
Hosting provider Byte heeft sinds kort een cache service in beta draaien. Deze service, Redis, serveert cache direct uit geheugen en is daarom veel sneller dan de Drupal native file cache of database cache methodes. Redis is te vergelijken met andere cache backends zoals memcache of apc.
As much as a I liked the design by Rob Krijgsman of the Code Culture logo and style, I was never really keen on the use of Helvetica as the body typeset. Reading this smashing article convinced me to make some changes to the typography of the site. Helvetica seems really stern, and I could really do with a slightly more vivid font. A sans-serif which has a serious tone but which is less formal than Helvetica.