Drupal 6 Themes
|Also available on:|
- Learn to create new Drupal 6 themes
- No experience of Drupal theming required
- Techniques and tools for creating and modifying themes
- A complete guide to the system's themable elements
Book DetailsLanguage : English
Paperback : 312 pages [ 235mm x 191mm ]
Release Date : September 2008
ISBN : 1847195660
ISBN 13 : 9781847195661
Author(s) : Ric Shreves
Topics and Technologies : All Books, CMS and eCommerce, Content Management (CMS), Drupal, Open Source
Table of Contents
Chapter 1: The Elements of a Drupal Theme
Chapter 2: Theme Setup and Configuration
Chapter 3: Working with Theme Engines
Chapter 4: Identifying Templates, Stylesheets, and Themable Functions
Chapter 5: Intercepts and Overrides
Chapter 6: Modifying an Existing Theme
Chapter 7: Building a New Theme
Chapter 8: Dynamic Theming
Chapter 9: Dealing with Forms
Appendix A: Drupal CSS Map
Appendix B: The Themers' Toolkit
Yes, i do recommend this book to anyone wanting to become a Drupal Themer Even as an experienced themer, it's nice to have this book sitting next to your computer as a reference guide. but basic PHP knowledge who are new to Drupal theming.
With help from this book you will be able to tweak base themes to make them look cool or even make your own Drupal theme. All in all, this is a very good book and must for all Drupal themers who want to be Drupal theming ninjas.
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 12 submitted: last submission 05 Apr 2013
Errata type: Typo | Page number: 0 |
In the section 'About the Author', his dedication to his wife reads as follows: "who's CSS skills are exceeded... It should be "whose CSS skills are exceeded..."
Errata type: Typo | Page number: 11 |
This independence also extends to the presentation layer of these discreet items of code. should be: This independence also extends to the presentation layer of these discrete items of code.
Errata type: Typo | Page number: 56 |
Section entitled "Theming In Action: Dressing Up Garland" First sentence: customize is misspelled as "costomize."
Errata type: typo | Page number: 66 |
In the illustration the Block body field contains: >img src="sites/default/files/button-ad-1.gif" border="0" /<
Errata type: typo | Page number: 79 |
In the order on which they appear are the following regions: header, left sidebar content, right sidebar, and footer regions. Between sidebar and content a missing comma
Errata type: Typo | Page number: 82 |
below the illustration: an alternative .css files It should be: file.
Errata type: Code | Page number: 134 |
The devel module corrupts parts of the Administer section as a result of which some menus cannot be opened and part of the instructions cannot be carried out. With the developer module installed, the Menu settings can not be opened as suggested on page 150 in the paragraph Creating Dummy Content. Solution: uncheck the Devel module's Theme developer.
Errata type: Typo | Page number: 150 |
The fourth bullet point from the last: it should read fixed-width.
Errata type: Code | Page number: 150 |
In the paragraph Creating Dummy Content the line Go to Administer | Create content | Create Blog entry should be: go to Create content | Create Blog entry (without Administer).
Errata type: Typo | Page number: 151 |
The line Access the Forums option under Content management should be: Access the Forums option under Administer/Content management.
Errata type: typo | Page number: 176 |
To set regions, use the following notation: region[..] = .. should be: regions[..] = ..
Errata type: Code | Page number: 237 |
The line in the code example at the top of the page: $form['username']['#description'] = t('Enter your username'); should be: $form['name']['#description'] = t('Enter your username');
What you will learn from this book
- Learn about the Drupal 6 Theming Architecture
- Find and install new themes
- Get the most from Drupal's theme configuration system
- Create a new theme from scratch
- Master PHPTemplate
- Modify the default templates and styles
- Override the default templates with your own
- Create dynamic styling which responds to the content or the user
- Discover tools that make theming easier and more efficient
Chapter 1: The Elements of a Drupal Theme â€“ In this chapter we examine how the theme system in Drupal works and examine the different approaches to working with Drupal themes.
Chapter 2: Theme set Up & Configuration â€“ Here we look at all the various theming options that are available in the default Drupal system. By way of example, we take a default theme and customize it using only the options provided by the system.
Chapter 3: Working With Theme Engines â€“ You will learn how the PHPTemplate theme engine works and how you can use this powerful tool,
Chapter 4: Identifying Templates, Style Sheets and Themable Functions â€“ This chapter identifies all the themable elements in the Drupal system and tells you where to find the elements together with an explanation of their functions.
Chapter 5: Intercepts & Overrides â€“ You will learn how to employ intercepts and overrides to modify the default styling in your Drupal theme.
Chapter 6: Modifying an Existing Theme â€“ Here we look at how to implement extensive modifications to a default Drupal theme. This is a hands-on example of the techniques covered in previous chapters.
Chapter 7: Building a New Theme â€“ In this chapter we examine how you can build from scratch a new theme employing the PHPTemplate theme engine.
Chapter 8: Dynamic Theming â€“ You will learn how the Drupal system enables you to vary the styling between sections, pages or users.
Chapter 9: Dealing with Forms â€“ This chapter covers the styling of forms in Drupal, one of the more complex areas in the system.
Appendix A: A Guide to Drupal Style Sheets â€“ An inventory of the contents of all the style sheets in the Drupal system.
Appendix B: The Themers' Toolkit â€“ A listing of tools and extensions that make your work with themes easier and more efficient.
Drupal is an award winning open source Content Management System (CMS). Based on PHP/MySQL, its power and flexibility combined with its exceptional design mean it is one of the most popular choices for creating a CMS website.
Drupal employs a specialized templating system and supports themes, which allow you to change the look and feel of the system's front and back-end interfaces.
Drupal 6 Themes is an ideal introduction to theming with Drupal 6. If you want to create a striking new look for your Drupal 6 website, this book is for you. This book is a revised, updated and expanded edition of Drupal 5 Themes, written specifically for Drupal 6. The book will show you techniques and tools to help you improve the look and feel of any Drupal 6-powered website
Starting from the basics of theme setup and configuration, you will learn about the Drupal theming architecture and the PHPTemplate engine, and then move on to modifying existing themes and building new themes from scratch. You will find out about tools to make your theme development easier, and also find invaluable information about under-documented elements of the theming system.
This book is the ideal introduction to theming in Drupal 6
This book helps you understand the logic behind the theming system employed in Drupal, and how to make it work for you. You will learn key concepts and work through examples with careful, step-by-step instructions.
Who this book is for
The main requirements to make use of this book are knowledge of HTML, CSS, and a touch of creativity - you don't need to know anything about theming in Drupal, although you should be familiar with the basic operation of the Drupal system.
Although this book aims to make Drupal theming accessible to designers, theming in Drupal 6 involves writing some PHP code, and a basic knowledge of PHP will be helpful.
Regardless of your technical skills, this book will teach you to design themes for your Drupal websites in the easiest way.