Alli Price

Pingdom is one of my favourite free tools for monitoring uptime of the websites we create – everyone should use it! It not only saves money but, crucially, it avoids embarrassment with clients and customers. How?

It comes down to understandng how reliable your site is. Downtime can be very damaging – it can lead to loss of sales, upset customers and creates a negative image. If people can't access your site, the chances are they'll head elsewhere.

If you use a Boolean field with radio buttons in Drupal 7, the false radio button outputs before the true. This became an annoyance to us whilst working on mega-sized forms, so here's our fix. To fix this you'll need to create a custom module, and implement the hook hook_field_widget_form_alter(). The following code assumes your module is called 'example'. All the code does is reverse the order of the options whilst preserving the keys, simple!

A couple of weekends ago I went to Brighton for the DrupalCamp Brighton / BadCampUK, great fun!

I had the pleasure of doing a talk on general Drupal performance optimisation. I aimed to cover so much stuff that it was hard to fit it into a 30 minute time slot. Luckily there are quite a few links on the slides (also see the slide notes) as my aim was to give a jumping off point for people to dive into whatever aspect of performance interests them.

(Corny title, we know :) ) It's not often that we'd do a post on a single module, but today is that day... Extended path aliases: http://drupal.org/project/path_alias_xt

Since the iPad 3/New iPad was announced, there has been a swirl of questions, which actually boil down to just one – 'how are we going to cater to this?'.

It's a real problem – do I want to, or should I, be serving up images at double the size for pixel-dense displays?

This is just a small post, but also a cautionary tale. From the moment you start working with Drupal and Javascript, you'll notice that the awesome jQuery library is thrown in for free. Not only that, but you've also got jQuery UI...

The above has long been a slightly confusing point since the dawn of the semantic web, when designers and developers moved away from using table elements. If you Google the above, you'll get a mixture of answers, ranging from absolute positioning to negative margins and use of line height. Yet, the simplest answer lies in the past. For a variable amount of text that you want to centre vertically and horizontally, you can use display: table-cell and vertical-align: middle...

On a recent project, we implemented a new content type on an existing Drupal site. One of the requirements of this content type was to allow a high level of user interaction, but also give detailed reporting per-node. To give access to reports per node we added in our own custom tab, we followed the example of node and webform to give the result we wanted. Here’s how you do it...

Since the migration from CVS to Git on Drupal.org, we've noticed that a few people are still having some trouble checking out a stable version of Drupal core, so, for those of you who aren't on the Acquia or Drush bandwagons, here you go...

Pages

Subscribe to Alli Price