Converting older Drupal theme to newer Drupal theme
Converting 6.x themes to 7.x
Last modified: December 7, 2009 - 18:31
Overview of Drupal Theme changes in 7.x
- Blocks have new, more meaningful CSS IDs
- Primary and secondary links are now Main and Secondary menu
- Unrendered taxonomy links are no longer available as a separate variable in node.tpl.php files
- RDFa requires some changes at the begining of page.tpl.php
- The clear-block class has been renamed to clearfix
- The box.tpl.php template has been removed
- $help became a region
- Mission statement removed, 'highlight' region suggested
- Footer message removed
- Content region is now mandatory, main page content became a block
- Second phase variable process functions
- HTML classes generated through a variable
- HTML attributes generated through a variable
- Variable process functions can now be used for all theming hooks
» 6 comments · Read more
