Blog Archives

The Drupal CMS – much more than ‘just’ code. Welcome to a community!

This is a talk given by Ben Wilding, Ed Crompton and me at the Brighton Drupal weekend, 15 September 2012. It’s aimed at people relatively new to Drupal. We explain ways to get involved with the Drupal community, be productive

Posted in drupal

How to make a field required in CiviCRM

$form->addRule(); Here’s an example from the hook_civicrm_buildForm() function in a custom module we’ve been working on. if ($formName == ‘CRM_Contribute_Form_Contribution’) { $form->addRule(‘receive_date’, ts(‘This field is required.’), ‘required’, NULL, NULL, NULL, TRUE); $form->addRule(‘contribution_page_id’,  ts(‘This field is required.’), ‘required’, NULL, NULL, NULL,

Posted in CiviCRM

Dance Europe

I’ve just completed a really interesting project for Dance Europe/Danza Europa – an international dance magazine. It’s a bilingual site, in Spanish and English, with a Drupal Commerce store using multicurrency. One thing I love about the site is that

Posted in drupal

ilovelambeth.com – a new OpenPublic website

Hello, here’s a report from the Made in Lambeth Good for Nothing event. A very creative crowd – designers, developers, artists – here at the Oasis Centre near Lambeth North station. What’s Lambeth? It’s a London borough, located just to

Posted in drupal, portfolio

Drupal Commerce Kickstart version 2

I found this on Drupal Planet the other day: http://commerceguys.com/blog/sneak-preview-commerce-kickstart-v2, so thought I’d give the new Drupal Commerce Kickstart distribution a try. It looks really great, and quite inspiring for those starting out with a new e-commerce project. The theme

Posted in drupal

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘DATABASE.field_data_field_DELETED_FIELD’ doesn’t exist

Drupal 7 Error. The scenario is: you deleted a field from one of your content types, but you later get this PDOException. The error is saying that it can’t find a table with the name of the deleted field. The

Posted in drupal

Drupal 7 Views: link content to a file path

Let’s say we have a content type with a PDF file, and we want to link the body text of the node to the file. In the view: FORMAT: Show: Fields FIELDS Content: PDF file Exclude from display: Checked Formatter:

Tagged with:
Posted in drupal