froscon2007 - 0.96

Free and Open Source Software Conference

Olav Schettler
Day 2
Room HS6
Start time 16:30
Duration 02:00
ID 36
Event type Lecture
Track Drupal
Language English

Implementing flexible page layouts with Drupal

Using the PHPTemplate engine and the Content Construction Kit, Drupal can do much more than the classical 3 column layout. we will present a framework for using these Drupal components for layout and demonstrate its use with selected examples.

With showcase sites like and, the open source content management framework Drupal has finally arrived in Germany. Drupal has a very flexible system for creating arbitrary layouts (called "themes"). This system, however, is largely targeted to programmers who set up the necessary PHP source files. This presentation gives an overview of Drupal themeing and presents a content-based framework that allows site editors to determine a page layout in the context of a given theme. Selected example layouts are used to demonstrate this approach.

Since Drupal version 5, Drupal comes with a beautiful default theme called Garland that even allows to change its colour scheme interactively through administrative pages. However, whereas much of Drupal content management is accessible through web-based configuration screens, the themeing sytem itself is mostly only accessible to programmers. By giving an overview of Drupal themeing, progressing from standard tasks like creating your own theme, defining separate themes for individual content types and sections of a site, to selecting a different themeing engine, we want to demonstrate the full power of the Drupal way in this area.

Adding to that the modelling power of the Drupal component "Content Construction Kit" or CCK for short, we demonstrate how the basic themeing facilities can be extended so that editors have more flexibility in publishing their content in flexible ways.