For the Scottish community

Blogs

The Oxford Comma

Here's a little function I wrote today because I needed to be able to turn a list of between one and three items into a string like 'apples, oranges, and pears', 'apples and pears', or just 'stairs'.

I figured I might as well handle everything in one place, and throw in the option to have an 'or' instead of an 'and'. There may be occasions you don't want the Oxford comma, but I can't think of any.


/**

Using Constants For Permission Names: WHY?

I keep seeing this sort of thing in so many modules:

define("MY_MODULE_PERM_ACCESS_WIDGETS", 'access widgets');
// Names changed to protect the guilty ;)

Am I missing something, or is this utterly pointless?

Making Drupal Admin UI feel a little like Wordpress

drupal Admin UI

Recently, i've had a few requests from design companies asking how they can make Drupal Admin UI feel a little like Wordpress because a lot of their clients have become accustom to using Wordpress admin UI and is comfortable with administering their site with a separation of the front and backend. However, these design companies are trying to move away from Wordpress and offer Drupal as a long term solution. Furthermore, the design companies didn't want me to spend a lot of time customizing Drupal so that the admin UI is a bit more like Wordpress. read more »

Getting started with Drupal(con)

This is an excellent first impression/introduction to Drupal and it's community for those that are new or are curious about this open source project. read more »

Once & Only Once: The Conversion To Drupal 7's FieldAPI

I'm not a fan of repeating myself, or of doing the same work twice. So when I first got a look at FieldAPI back at DrupalCon Paris, my thought after 'Wow this is going to change everything,' was 'Every module that converts its custom data storage to this is going to be doing the same work, over and over'.

Help needed: using jQuery to show passwords as you type

Today I found an article about password usability, which suggested that showing users what they type for their passwords is an improvement to usability.

You can try a working demo, which adds a 'show password' checkbox.

This had me wondering whether this is a feature we should consider having in Drupal.

Book review: Drupal for Education and E-Learning by Bill Fitzgerald

Drupal for Education and E-Learning

I was really excited when I received this book 'Drupal for Education and E-Learning' from Packt Publishing because I was about to embark on a re-design of a university website and from the given title of the book, it seems to fit what I wanted to know. read more »

Time to pick a winner for the Drupal site Blueprints book giveway

Okay, i've randomly picked out a winner and for the Drupal site Blueprints...

congratulations! pierrelbz was the chosen winner.

You will be contacted on Twitter, please reply to receive your free book.

How did i pick the winner:
To decide who gets the free book each new followers' names on my Twitter list was written on a piece of paper and folded up, then shuffled around in a box. Without looking into the box, I then proceeded to pick out a random name.

Thanks to all that followed me.

Getting Stuff Done

Basically, an initial patch went in, we opened followup issues for cleanup, the followup issues never got followed up, so what's in HEAD is a bit of a mess. — catch, in a recent issue comment

This happens far too often. I'm not linking to the specific issue in the Drupal 7 queue because I don't want to point fingers; this suffices to exemplify my point.

Free Book giveaway: Drupal 6 Site Blueprints

giveaway prize The lovely Packt Publishing has given me a free book to giveaway. The book is Drupal 6 Site Blueprints.

To enter all you need to do is follow me on Twitter. Simple as that and i'll randomly select a winner from the list.

This contest starts from today and will end on the 23rd Feb (next Tuesday), that's one week from today.

Good luck to everyone.

Note: Winners from the UK will receive a printed copy. All other countries will receive a downloadable PDF version.