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 an 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 HTML5
<input type="email" /> tag. Now the default Drupal 7 Form API only supports regular text inputs.
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.
In conjunction with 2Value, I've been doing support and development work for a Dutch logistical company called Beurtvaartadres. They need a support supplier who acts as a partner rather than treat them as a traditional client. So far we've managed to tackle issues around quite a few projects together, the most prominent of which are their twin corporate websites.
Beurtvaartadres is an indepent organization for everyone involved in the transportation of goods.
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.
While the summer is coming to an end the last of the VvAA summer campaigns are being launched. Within the span of a mere 2 weeks we've deployed this site designed by CoR. The site consists of a lot of custom styling. Especially in the various modal boxes. Although the amount of different pages is limited it's been a bit of a challenge to both grant the editors the maintainability they need and have all this custom styling within the site.