Functional Fips: PHP basics for themers
There are a lot of theme snippets available in the Theme Guide. There is not, however, a lot of information about PHP which is the language that makes up these snippets. If you're tired of copying, pasting and praying and are ready to understand some of the magic behind those snippets, this session is for you!
In this session you will learn how to manipulate and master:
- The very, very basics of PHP and the popular theming engine PHPtemplate
- Variables and tpl.php template files
- Arrays and objects and other crow-bar-worthy data containers
- The really scary looking stuff that's in the mysterious file template.php
Examples will be pulled from the Drupal.org Theme Guide as well as the wildly successful book on theming, Front End Drupal (co-authored by Emma Jane and Konstantin Kaefer).