Drupal 7 email fields

Submitted by bas on Tue, 17/12/2013 - 11:20

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.

Drupal 8 is an opportunity to learn

Submitted by bas on Fri, 27/09/2013 - 16:18

DrupalCon Prague has just finished. One of the major topics this conference was the unrest about the incipient Drupal 8 release in the Drupal community. Only recently Drupal was forked into Backdrop. "Drupal 8 is too complex" seems to be the main argument to fork.

Dynamic Colour Schemes

Submitted by bas on Mon, 05/08/2013 - 00:22

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.

Drupal 7 BlogApi

Submitted by bas on Thu, 27/06/2013 - 22:33

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).

Redis + Drupal @ Byte webhosting

Submitted by bas on Fri, 14/06/2013 - 01:05

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.

Beurtvaartadres

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.

Helvetica, gone

Submitted by bas on Thu, 06/12/2012 - 23:28

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.

VvAA Zomercampagnes

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.

Drupal Association Membership

Submitted by bas on Sun, 25/09/2011 - 13:27

Thanks to this tweet by webchick, I enrolled for a Drupal Association membership.

GenDX

Genome Diagnostics aims to offer accurate diagnostic tools to facilitate donor/recipient matching, ultimately leading to higher success rates of bone-marrow, cord blood and stem cell transplantations.

I did a quick restyle of the Joomla template to reflect the new, cleaner design.