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

The Linux Test Project has been released for September 2015

Good news everyone, the Linux Test Project test suite stable release for *September 2015* has been released. Since the last release 272 patches by 27 authors were merged. Notable changes are: * Network namespace testcases were rewritten from scratch * New user namespaces testcases * New testcases for various virtual network interfaces * New umount2() testcases (for UMOUNT_NOFOLLOW, MNT_EXPIRE and MNT_DETACH flags) * New open() testcase (for O_PATH flag) * New getrandom() testcases * New inotify, cpuset, futex_wake() and recvmsg() regression tests + The usual number of fixes and enhancements Read more

Smart touchscreen dev kit runs Android on quad-core i.MX6

Gateworks announced a 7-inch touchscreen Android development kit, with a quad-core i.MX6 SoC, GbE, WiFi, BT, GPS, USB, serial I/O, and dual mini-PCIe slots. The Gateworks “GW11036″ Embedded Android Development Kit is aimed at easing the process of developing smart touchscreen-interfaced systems for use in a wide range of applications, including those requiring extended temperature operation. The kit builds on the company’s GW5224 single board computer, adding a 7-inch, 1024 x 600-pixel TFT display, capacitive touchscreen, wireless modules, and a customized, microSD-bootable, Android KitKat operating system. Read more

13 Ways You Can Help Desktop Linux To Grow

This is the condition when there are over 300 Linux distributions with a number of them being desktop focused. Linux was (and still) considered to be the “geek only” zone with the biggest misconception that one need to know the command line to use Linux. Times have changed. Linux is a lot more user-friendly than what it used to be in late 90’s or early 2000. The chances for Linux to gain market share is now and you definitely could help in this cause. Read more

Today and Yesterday in Techrights