What's been on my mind

Drupal Johannesburg 11 March meetup notes

Submitted by charles on Wed, 03/18/2009 - 14:08

My thoughts on the meetup

Carl from Cerebra demoing drupal goodnessFor me, it was great to see everyone again, although I was disappointed that there weren't more than 3 new faces among the 15 or so that turned up. We do need to do something to attract more new members. I particularly enjoyed hearing about what new modules people have discovered, and enjoyed the less formal discussions afterwards.

Quick Drupal setup using Acquia's DAMP stack

Submitted by charles on Mon, 03/09/2009 - 07:35

Acquia have released an all in one Drupal install which includes Acquia Drupal, Apache, MySQL, PHP, PhpMyAdmin, and an Acquia Drupal Control Panel, to allow users to easily test and play around with Drupal, without having to get into the technical details of installing separate instances of Apache, MySQL, PHP etc.

Check it out here: http://acquia.com/downloads


Submitted by charles on Wed, 10/29/2008 - 19:34

These are the notes from my Kaya FM interview on the business of being online:

1) What are some of the main things small businesses need to consider when looking at setting up a website?

I really think the most important aspect of setting up a web site, is planning. Think how a house is built – you don’t jump straight in and start building – No. You first think about the ideal house that you want, and then develop the plans for that house, based on your specific needs and your financial situation. It’s exactly the same with building a website.

Drupal Johannesburg July 2008 meetup summary

Submitted by charles on Sun, 07/27/2008 - 12:03

The third Drupal Johannesburg meetup took place on the 19 July 2008 at Obsidian Systems, and was well attended, by around 25 people (I didn't count, just guessing). While we are still feeling our way around the structure of these meetings, this month's meetup was a step in the right direction. Andre from Cerebra gave a workshop to demonstrate the power of Drupal's CCK module. During the workshop he created a site which allows users to post reviews of cell phones. Some of the modules he used were: contemplate for quick theming of content type data - we were warned not to leave the generated code in contemplate, but to then create a node template and paste the code there, as this is more maintainable because it's not stored in the database. He used the automatic node titles module (plus token) to create useful, and search engine friendly titles.

Stay up to date with Drupal, and discover good Drupal resources

Submitted by charles on Thu, 07/03/2008 - 07:02

Planet Drupal aggregates drupal related blog posts from a number of drupal sites and bloggers. I've only recently discovered it, but have already found some incredibly useful drupal posts here. For example, this one shows you how to allow "everyone, including “anonymous users”, to be informed of updates to nodes right inside their content", something very similar to what a client has just asked me to do.

Disable tinymce for fields in drupal module: webform

Submitted by charles on Fri, 05/23/2008 - 12:51
I normally disable tinymce for certain textareas by overriding the tinymce function theme_tinymce_theme. This allows me to target textareas by their name attribute. For example, to disable the editor for all cck fields that I have named 'description', and all the devel modules 'php code' block textareas, one would put the following in that function: function phptemplate_tinymce_theme($init, $textarea_name, $theme_name, $is_running) { switch ($textarea_name) { // Disable tinymce for these textareas - using the field's name attribute

Make a user agree to a drupal site's terms and conditions

Submitted by charles on Sun, 04/20/2008 - 07:54
Came across a module that does exactly this, the Legal module. When an anonymous user registers to use a drupal site, they get presented with the normal registration form with the terms and conditions of the site below. If an administrator adds a user, the first time the user logs in, before they can go any further, they need to accept the terms and conditions. In both cases, it's just a checkbox at the bottom of the terms and conditions that they must check before being allowed to continue.