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

Open source Linux-on-Zynq SBC debuts new FPGA add-on standard

Opal Kelly’s “SYZYGY Brain-1” SBC, which runs Linux on a Zynq-7012S, is a proof of concept for its SYZYGY standard for FPGA-driven peripherals. FPGA development firm Opal Kelly has gone to Crowd Supply to launch a development board to showcase its SYZYGY standard for FPGA peripheral expansion. SYZYGY bridges the gap between Digilent’s low-speed Pmod connector and the higher-end VITA 57.1 FMC (FPGA Mezzanine Card) standard. The open source, 110 x 75mm SYZYGY Brain-1 SBC runs Linux on a Xilinx Zynq-7012S SoC, a member of the FPGA-enabled Zynq-7000S family, which offers single Cortex-A9 cores instead of dual dual cores on the Zynq-7000 series. Read more

Why Linux can make you feel thankful or merely stuffed

There are many reasons why I came to appreciate Unix and then Linux and why they became such an important part of my life. These operating systems provided a focus and a career specialty that I've greatly enjoyed. I appreciate Linus Torvalds and the many thousands of developers who have contributed their time and energy into building a powerful, efficient and enjoyable operating system. I appreciate the many tools and commands that make them so easy to use and get my work done. And I appreciate the chances that I've had to share what I've learned with so many others. It's been fun, and it's been very rewarding. Read more

Ubuntu-Based ExLight Linux OS Is One of the Few to Use Latest Enlightenment 0.22

ExLight Build 171121 replaces last week's Build 171112, which used the older Enlightenment 0.20 desktop from the Ubuntu 17.10 (Artful Aardvark) software repositories, to update Enlightenment to the latest 0.22 release that the developer compiled from sources. This makes ExLight one of few distros to use Enlightenment 0.22. "Version 171112 uses Enlightenment 0.20 installed from Ubuntu’s repositories. Build 171121 of ExLight uses Enlightenment 0.22 installed by me from source," said the developer in the release announcement. "Only two Linux distributions in the whole wide world (besides ExLight) use Enlightenment 0.22 as desktop environment." Read more

Ubuntu 17.10 Users Get Major Kernel Update, 20 Security Vulnerabilities Patched

If you're using the latest Ubuntu 17.10 (Artful Aardvark) operating system on your personal computer, you should know that it received it's first major kernel update since the official release back in October 19, 2017. The update addresses a total of 20 security vulnerabilities for Ubuntu 17.10's Linux 4.13 kernel packages, including the Raspberry Pi 2 one. Among the security issues patched in this update, five are related to Linux kernel's USB subsystem, including a use-after-free vulnerability, which could allow a physically proximate attacker to crash the affected system by causing a denial of service (DoS attack) or possibly execute arbitrary code. Other three are related to the ALSA subsystem, including a race condition. Read more