Language Selection

English French German Italian Portuguese Spanish

Book Review: Drupal 5 Themes

Filed under
Drupal
Reviews

"For any Web site based upon Drupal, an increasingly popular CMS, the styling of the site is controlled by whatever Drupal "theme" has been installed, enabled, and chosen, by the site administrator. Out of the box, Drupal offers only a handful of themes, and thus site administrators oftentimes will instead opt for a theme developed by a third-party. However, if the administrator cannot find one that exactly matches their needs or those of their client, then they will either have to pay someone to custom-build a theme, or learn how to do it themselves. Fortunately, creating a new theme or modifying an existing one, is not that difficult, as demonstrated in Drupal 5 Themes, by Ric Shreves."

It is a slender volume, at only 260 pages, and yet covers most of the basics, in eight chapters and one appendix: the basic elements of a Drupal theme, including the files involved; finding, installing, configuring, managing, and uninstalling themes; theme engines, with a focus upon the most commonly used one, PHPTemplate; style sheets and themeable functions; overriding CSS rules, Drupal functions, and template files; modifying an existing theme, using the popular Zen theme as an example; creating a new PHPTemplate-based theme from scratch, and how to extend it; creating a theme not based upon an engine; theming Drupal forms. On the book's Web page, visitors can download most of the sample code presented in the book, send the publisher feedback, ask the publisher a question, and download a sample chapter (number 3, "Working with Theme Engines") as a PDF file.

On the positive side of the ledger, Drupal 5 Themes is a solid introduction to Drupal theming, and the author takes his time in explaining the key concepts. Extensive use is made of sample code, in addition to screenshots of themed pages, admin pages, directory trees, and more.

On the negative side of the ledger, the book contains many small errors — even for a first edition.

More Here




More in Tux Machines

Arch Linux 2015.08.01 Is Now Available for Download, Powered by Linux Kernel 4.1

You won't believe this, but it's already August, so the time has come for the Arch Linux operating system to receive a new installation media that includes all the updates that have been released during the month of July 2015. Read more

Linux Kernel 3.12.45 LTS Has ARM64 and x86 Fixes, Numerous Updated Drivers

On the last day of July, Jiri Slaby, the maintainer of the Linux 3.12 kernel series, which is an LTS (Long Term Support) version supported with patches and driver updates for a few more years than normal kernel releases, announced the immediate availability for download of the forty-fifth maintenance release of Linux kernel 3.12 LTS. Read more

US House Opens Up to Open Source

Providers of open source software recently found another market: the 435 members of the U.S. House of Representatives. That market easily will grow to many thousands of potential open source users when the staffs of each representative, as well as the staffs of various House committees, are added to the total. Three advocacy organizations -- the Sunlight Foundation, the Congressional Data Coalition, and the OpenGov Foundation -- last month jointly announced that certain procurement restrictions that had constrained the use of open source technology in the House had been clarified. Read more

Latest Ubuntu Touch SDK Updates Focus on Convergence Features for OTA-6

On the last day of July 2015, Canonical's Zoltán Balogh posted an important email on the Ubuntu Touch mailing list, informing us all about the work done lately on the Ubuntu SDK (Software Development Kit) software. Read more