Introduction to Theming
Converting a static HTML + CSS site template into a drupal theme.
Zenlike template
http://www.oswd.org/files/designs/3559/zenlike/
Zenlike template
http://www.oswd.org/files/designs/3559/zenlike/
Zenlike template
http://www.oswd.org/files/designs/3559/zenlike/
Rename index.html to page.tpl.php
page.tpl.php: Documentation
http://api.drupal.org/api/drupal/modules--system--page.tpl.php/6
page.tpl.php: View Source
http://api.drupal.org/api/drupal/modules--system--page.tpl.php/6
page.tpl.php: View Source
http://api.drupal.org/api/drupal/modules--system--page.tpl.php/6
page.tpl.php: Matt Vance's minezone cheat sheet:
http://www.minezone.org/blog/2009/02/04/drupal-6-theming-cheat-sheet/
the .info file
Upload theme
sites/[sitename]/themes/[theme_name]
Theme configuration
/admin/build/themes
Zenlike theme
Zenlike theme
bad paths for images and css
Regions
Zenlike template: Regions
http://www.oswd.org/files/designs/3559/zenlike/
Zenlike template: page.tpl.php
Zenlike template: page.tpl.php
replace <head>
Zenlike template: page.tpl.php
replace <head>
Site name/slogan - <?php print [VARIABLE] ?>
<?php print [VARIABLE] ?>
Menu - <?php print [VARIABLE] ?>
Menu - <?php print [VARIABLE] ?>
Zenlike theme
Subtheme
name = <your subtheme's display name>description = <whatever works for you>core = 6.xbase theme = <(folder)name of any core or contributed theme or subtheme, e.g. bluemarine>stylesheets[all][] = <subthemename>.css