Theme Snippets

Description
The idea behind this section is to encourage modular theme development and to share custom layout and CSS snippets with a view of building a Drupal Theme Designer Knowledge base.

The snippets you will find in this section, are for use with PHPTemplate based themes (the default theme engine since Drupal 4.7), with the exception of the snippets in the subsection Engine Independant Snippets.

Notes

  • PLEASE NOTE! Snippets are user submitted. It's impossible to test them all so it is up to the user to test them before using! Don't just copy and paste them without checking first on a test site.
  • Please note that the snippets may contain some database queries specific to MySQL.
  • Before submitting your own snippets, please read the guide to adding your own snippets so we can maintain consistency to this section of the handbook. Try to keep the pages instructional (simple steps, 1,2,3 etc.) rather than explanatory.
 
 

Drupal is a registered trademark of Dries Buytaert.