Custom Templates
Any page, node, or block can have a custom template that defines its look. This is a very easy way to subtly alter the look of different parts of the site, or to customize the display of different types of data.
page.tpl.php
Heavily modified the Denver Theme version to remove almost all conditional theming and unused divs. Made a few other customizations to:
- permit 2- or 3- column layout, depending on if there is a block in rightsidebar
- added include of page_footer.inc to display the custom footer.
- added copyright notice and "powered by Drupal" icon in page bottom region.
- added new "help-block" region (see: Add a drop-down, context-sensitive, overlaid help block | drupal.org)
node.tpl.php
Basically, this is straight from the Denver theme, but with:
- "teaser" class added to the "node" div to allow custom styles for teasers (used to float image right on node page, but left on teaser view).
page_footer.inc
Defines the footer portion of the page that includes the "Our Community" and "MarketPlace" random image blocks.
node-page_layout_b.tpl.php
Defines a custom layout for the "Market Page". Basically, this just adds the code to pull in the "mini-gallery" at the bottom of the page.
commments.tpl.php
Added this to customize the look and feel of comments.
See Theming Drupal Comments, Exemplifying with Garland | All Drupal Themes