Theming Best Practices (Garland Gets a Cleanup)

Theming Best Practices (Garland Gets a Cleanup)


Add Comment
Share
Source Articles
28
Monday, April 28, 2008
By admin
Yesterday Garland got a long-overdue update: The page.tpl.php file was updated to use best practices. Now we can finally open up Garland in a workshop scenario and not have to use it as example of the bad practices within a .tpl.php file. This article applies to Drupal 6 and higher, though the theming principles apply to all versions of Drupal.

What’s this about best practices? Let’s compare the before and after of a few of the improvements. Each of the items below are extremely common things you can do to keep your .tpl.php files clean.

read more

Leave a Reply

Your email address will not be published. Required fields are marked *