What's been on my mind


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.

Drupal support irc channel

Submitted by Charles on Thu, 02/28/2008 - 09:49
If you can't find what you're looking for on the drupal site, you might want to try the drupal support irc channel, and ask your question there. Using your irc client, login to: /server irc.freenode.net [after connecting successfully] /join #drupal-support