Drupal 5 Themes
Formats:
save 40%!
save 37%!
Free Shipping!
| Also available on: |
|
- Learn to create new Drupal 5 Themes
- No experience of Drupal 5 theming required
- Set up and configure themes
- Understand Drupal 5's themeable functions
Book Details
Language : EnglishPaperback : 260 pages [ 235mm x 191mm ]
Release Date : December 2007
ISBN : 1847191827
ISBN 13 : 9781847191823
Author(s) : Ric Shreves
Topics and Technologies : All Books, Drupal, Open Source
Table of Contents
Preface
Chapter 1: The Elements of a Drupal Theme
Chapter 2: Theme Set Up and Configuration
Chapter 3: Working with Theme Engines
Chapter 4: Style Sheets and Themeable Functions
Chapter 5: Intercepts and Overrides
Chapter 6: Modifying an Existing Theme
Chapter 7: Building a New Theme
Chapter 8: Dealing with Forms
Appendix A
Index
Ric Shreves
Code Downloads
Download the code and support files for this book.
Submit Errata
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
- 24 submitted: last submission 10 Jan 2012Errata type: Typo | Page number: 130
In the section how to set up the menus, the weights for the "Home" and "Contact Us" links are supposedly set to "10" and "-10", respectively. It should be changed to "-10" and "10" respectively, in reference with the screen shot shown on page 148.
Errata type: Typo | Page number: 10
In the fourth paragraph there is "administer>site>building>blocks". It should be "Administer | Site | Building | Blocks".
Errata type: Typo | Page number: 123
The penultimate paragraph has "double periods". It should be changed to "single period".
Errata type: Typo | Page number: 106
The author mentions the Xtal templating engine, while he intends to mention Xtemplate.
Errata type: Typo | Page number: 27
In the last paragraph there is "down side". It should be changed to "downside".
Errata type: Typo | Page number: 120
In the tips & tricks box there is "Dev Server". It should be changed to "dev server".
Errata type: Code Typo | Page number: 86
The PHP code contains four back ticks, which should be replaced with straight apostrophes. 1)second line: print '
-
- '
' 2)fourth line: 'user' 3)fifth line: 'theme' 4)eight: '
Errata type: Typo | Page number: 54
Under Set Access Levels heading paragraph there is "sites". It should be changed to "site's".
Errata type: Typo | Page number: 69
template.engine should be phptemplate.engine
Errata type: Typo | Page number: 12
In the 3rd bullet there is "assemble to core" should instead read "assemble the core"
Errata type: Code Typo | Page number: 130
In Navigation footer it is "yourdomain /?q=user". It should be changed to 'yourdomain/?q=user'.
Errata type: Typo | Page number: 8
In the paragraph just above the figure there is "new-comer". It should be changed to "newcomer".
Errata type: Typo | Page number: 50
Just below the figure there is "FavIcon". It should be "favicon".
Errata type: Language | Page number: 15
Spelling error - discreet rather than discrete
Errata type: Typo | Page number: 23
In the later part of the page just above the new heading there is "in depth". It should be changed to 'in-depth'.
Errata type: Typo | Page number: 22
Just above the figure there is "comprise". It should be changed to "compose."
Errata type: Typo | Page number: 188
In the fourth paragraph there is "page-blog-tpl.php". It should be changed to "page-blog.tpl.php".
Errata type: Typo | Page number: 87
In the first paragraph there is "some where". It should be "somewhere".
Errata type: Typo | Page number: 130
In the section describing how to set up the menus,the weight of the Blog enteries is 10. It should be changed to "-10" in refrence with the screen shot shown on page 148.
Errata type: Typo | Page number: 24
In the line just above the summary there is "in depth". It should be changed to "in-depth".
Errata type: Technical | Page number: 44
The descriptions for "aggregator" and "aggregator/*" are swapped.
Errata type: Language | Page number: 47
In first paragraph under new heading there is "to the tailoring an existing theme." It should be changed to "to tailor an existing theme".
Errata type: Language | Page number: 10
In the second paragraph there is "blocks manager". It should be changed to 'Blocks manager'.
Errata type: Language | Page number: 10
In the second paragraph there is "where ever". It should be changed to "wherever"
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
This book is the ideal introduction to theming with Drupal 5. If you want to create a striking new look for your Drupal website, this book is for you. 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. Included is a complete guide to the various style sheets and themeable functions in Drupal 5, making this book a valuable resource even to experienced theme developers. It covers:
- Creating custom templates
- Basics of theming in pure PHP
- Modifying an existing PHPTemplate theme— a step-by-step guide
- Creating a new PHPTemplate theme—a step-by-step guide
- Working with forms
The main requirements to make use of this book are knowledge of HTML, CSS, and a touch of creativity! Although this book aims to make Drupal theming accessible to designers, theming in Drupal 5 involves writing some PHP code, and a basic knowledge of PHP will be helpful.
Drupal is an award winning open source Content Management System. Based on PHP/MySQL, its power and flexibility combined with its exceptional design mean it is already on the way to becoming the de facto standard for CMS Websites. Drupal’s modular design and structured source code make it both highly flexible and easily extended and modified. Drupal is extremely scalable, making it ideal for both a simple personal website as well as an industrial strength commercial or institutional web presence.
Drupal is a model open source project in that it has a large, friendly community of people who contribute to the project in various ways. Drupal is not only free and easy to use, but this community provides on going mutual support.
This book is the ideal introduction to theming with Drupal 5. If you want to create a striking new look for your Drupal website, this book is for you. 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. Included is a complete guide to the various style sheets and themeable functions in Drupal 5, making this book a valuable resource even to experienced theme developers. It covers:
- Finding your way around Drupal 5's theming architecture
- Locating and identifying the various elements, functions, and styles
- Working with the PHPTemplate templating engine
- Intercepting and overriding default templates and styles
The main requirements to make use of this book are knowledge of HTML, CSS, and a touch of creativity! Although this book aims to make Drupal theming accessible to designers, theming in Drupal 5 involves writing some PHP code, and a basic knowledge of PHP will be helpful.
"One of the things we set out to accomplish was to create a resource. We put together a catalog of the system's 20+ stylesheets and we go through all the default themeable functions. The information is organized logically and will make this a resource people can put on their shelf and turn to when needed. Being able to quickly lay your hands on the information concerning the styles and the themeable functions is a real time-saver." - Ric Shreves, author.
Visit the Drupal 5 Themes Free Online Edition to view chapter introductions and a full chapter.


