How To: Exhibit Themes

Jump to: navigation, search

Introduction

Exhibit themes allow you to change the look and feel of an exhibit separately from your public theme. You select your exhibit theme on the Exhibit Metadata page in Exhibits > Create an Exhibit

Creating an Exhibit Theme

Exhibit themes require the following files:

  • Header Template (header.php) = Header information, including the DOCTYPE, title, meta tags, stylesheets, and anything before the actually page_layout for an exhibit begins.
  • Footer Template (footer.php) = for code after the page layout.
  • Item Show Template (item.php) = allows exhibit theme creators to style the individual item show page to fit their exhibit, instead of sending exhibit visitors to the item show page of their public theme. The code for pulling in item metadata is similar to that used in the public theme
  • Summary Template (summary.php)
  • Show Page Template (show.php)
  • Stylesheet (screen.css) = You call the stylesheet in your header.php with the function exhibit_css('screen').

Personal tools

Toolbox