Drupal is an open source Content Management System (CMS) built in PHP. It is used by a wide variety of websites from large corporates through to smaller startups. Drupal is hugely flexible which is what makes it such a great framework around which to build almost any type of website. At ComputerMinds we are a Drupal only development house so Drupal is all we do, all day, every day. To find out more about Drupal and how it can work for you have a look at some of our Drupal articles below and feel free to explore our site further to see how ComputerMinds might be able to help you realise your web goals.

Read some of our articles about Drupal

Article
Posted on 18th September 2007
Takes about 1 min to read

Adding new custom regions (areas into which you can place blocks) to a Drupal template is dead easy ... Simply add the following to your template.php file : function YOUR_THEME_NAME_regions() { return array( 'content_top' => t('content top'), 'content_bottom' => t('content bottom'), 'left' => t('left sidebar'), 'right' => t('right sidebar'), 'content' => t('content'), 'header' => t('header'), 'footer' => t('footer'), 'new_region1'=>t('A new region') ); } Make sure you change the YOUR_THEME_NAME bit to match the name of...

Published in: #Drupal #Drupal Planet
Article
Posted on 27th July 2007
Takes about 1 min to read

Drupal 5.2 was released last night, containing a couple of quite importants ecurity patches and some other minor bug fixes. http://drupal.org/drupal-5.2 We will be upgrading our client's sites over the next couple of days

Published in: #Drupal #Drupal Planet
Article
Posted on 19th June 2007
Takes about 1 min to read

Just a quick one this - you will probably find that when you use Tinymce and the standard Filtered HTML input format, all your text bunches up and doesn't break correctly. Once solution to this is to use Full HTML - fine for the admin user but not so good for your average member of the great unwashed. So, the solution is to goto admin/settings/filters and configure the "filtered HTML" filter. You then want to...

Published in: #Drupal #Drupal Planet
Article
Posted on 17th June 2007
Takes about 1 min to read

There is nothing worse than having your browsing flow interrupted by a login screen that does not return you to your origional destination. Drupal manages to get around this problem by allowing you to append a "destination=XXX" query string parameter to the 'user' login URL. This is excellent and works well, except what happens if the user clicks the register tab while on the login screen - the destination query string is lost and the...

Published in: #Drupal #Drupal Planet
Article
Posted on 16th June 2007
Takes about 2 mins to read

This article applies to the current dev release of both the captcha and the textimage module. It involves modifying captcha.inc file which is distributed with the textimage module - it is therefore only a temporary solution and should be treated with caution! Step one - download and install. To get the captcha module up and running you need the following modules captcha textimage form-store Step two - Turn on form store and form-collect The form...

Published in: #Drupal
Article
Posted on 27th March 2007
Takes about 1 min to read

Putting together an upload form in Drupal 5 is easier than you think - there are just a couple of things you need to remember ... The form is built like this: function build_upload_form(){ $form['#attributes'] = array('enctype' => "multipart/form-data"); $form['file_upload']=array('#type'=>'file','#title'=>'Filename'); $form['submit']=array('#type'=>'submit','#value'=>'Upload file'); return $form; } And the submit is handled like so, note - the value passed into file_check_upload is the name (terminal array key) of the form element defined in your form building function...

Article
Posted on 20th March 2007
Takes about 2 mins to read

It is perfectly possibly to work with Drupal using the free tools that come with Windows, nothing more than notepad and Internet Explorer - but just because its possible doesn't mean its a good idea! We work with Drupal all day everyday - and rely on a small arsenal of applications to stop us going insane! 1. Firefox - (http://www.mozilla.com/en-US/firefox/ ) Everybody has heard of firefox right? The browser that has MS running scared (and...

Published in: #Drupal #Drupal Planet
Article
Posted on 11th March 2007
Takes about 1 min to read

I'll keep this one nice and short - and hopefully save a couple of people participating in a bit of self inflicted baldness! Installing the TinyMCE module (a nice WYSIWYG editor) in Drupal 5 should be a breeze. Basically you copy the module into your modules directory. Then hit the TinyMCE site and download the latest version of the TinyMCE javascript/images - which you put into the tinymce directory in your modules directory. You then...

Published in: #Drupal #Drupal Planet
Article
Posted on 1st March 2007
Takes about 1 min to read

We inherited another site today, with an interesting problem (actually it has many problems but that's another story). When the Drupal cache is enabled totally blank pages are often displayed. A quick google search fails to bring back much info, so it looks like were going to actually have to work for dinner today :) Now a blank page is usually a sure sign of a PHP error, the sort of thing that on a...

Published in: #Drupal #Drupal Planet
Article
Posted on 28th February 2007
Takes about 1 min to read

We inherited a site that was running a very old (probably un patched) version of Drupal 4.6. The site was getting a massive number of hits to the URL /emailpage - at least 20 a minute, even when there was no other traffic on the site. This looked suspiciously like a mail header injection problem. Even though the server was not currently sending out any spam we figured that at some point in the past...

Published in: #Drupal #Drupal Planet