Drupal

Maturity is great, to a point, for wine, cheese and men, but not for jQuery 1.2.6

Drupal 6 has jQuery 1.2.6 somewhat hardwired. The jQuery update module can get you to 1.3.2, still a long way from the current version. Drupal 7 has hook_js_alter, which will allow you to conditionally override the built-in version.

If you're looking to do some UX magic and want the latest greatest version, you can do the following:


newJQ=jQuery;

Drupal and permissions - avoiding 'The directory sites/default/files is not writable' error

Have you moved a Drupal site to another server and received the error 'The directory sites/default/files is not writable' ?  The site worked on the previous server, and the permissions seem the same. Ah, an easy fix...make the permissions for the files directory 777. Noooo!

Let's take a look at what the numbers in the permissions setting mean.

Book Review: Drupal 6: Panels Cookbook

When the request came for me to review Drupal 6: Panels Cookbook by Bhavin (Vin) Patel, I was excited. I've been a software developer forever, a Web developer for as long as there's been a Web, and a Drupal developer since D6 was imminent. I have two Drupal books myself, and am working one about D7 Views, but with all that, one glaring hole in my self-education has been Panels; it would be my first chance to use it.

Moving house: shared hosting to VPS

I received a 'love letter' from my hosting provider: you have too many tables in your databases and are negatively impacting performance. You have 14 days to correct this or we will take your firstborn...or something to that effect.

Mind you, my account comes with unlimited domains and 25 databases. I had about a dozen databases, but with almost all of them being Drupal that put me well over the 1000 table maximum they had introduced since I had signed up.

Drupal 7 Beta 1 Released

I was starting to lose hope when Alpha 5 came out, and was despondent by the time Alpha 7 did. I'm plugging along with the book, half way through the first draft, but at least 25% will need to be revisited to complete examples that hit brick walls because of things just not working as they should, yet, such as custom fields not appearing in the Views sort criteria field list.

No Soup for You!

I was working on a new Drupal 6 module, and at least until things became more complex, I was writing it in a top-down manner: the .info file, the .install file, and was working on defining permissions via hook_perm().

It should have been very easy. I created the following:

Subscribe to Drupal