Drupal 6 Theme System. Architecture Theme Templates Theme Engines Theme Hooks What’s New Theme registry Theme Inheritance Modules & Themes speak! Discusssion Tips & Tricks Discussion. Drupal’s Architecture. 3 main elements: Theme Templates Theme Engines Hooks. Why Theme Templates?.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
3 main elements:
When a regular Drupal page is rendered several template files are used:
What is a theme engine?
What theme engines does Drupal support?
Like Drupal modules, Themes also use the hook setup to call functions and / or theme related files. Here are some things Drupal does with theme hooks:
Drupal's theme registry maintains cached data on the available theming hooks and how to handle them.
Learn more about the theme registry and how to override it:
What is Theme Inheritance?
Theme inheritance allows great flexibility to make your own theme quickly.
… Also, great for beginners to learn the theme layer.
In the new theme system module files can create their own template files and push data to them.
What are some tricks you use often in the theme layer?
What would you like to do in the theme layer but do not know how or if it is possible?