Skip to Content

You are here

Drupal 7 Theming Basics with the help of Lullabots

The Theming in Drupal 7 is almost similar to Drupal 6 with Some of the modifications in the file structures of theme and few other changes.

All those changes are specified below one by one for the understanding of Drupal 7.
1. Theme file structure :
In the .info file changed few features like mission,search are not present in D7. primary links and secondary links are renamed to main_menu and secondary_menu.
page.tpl.php is divided into page.tpl.php and html.tpl.php
html.tpl.php contains whole html,head,body tags.
page.tpl.php contains the whole div id="page".