Portal Theme Directory Structure

A Portal Theme contains a collection of files that, together, make up the look, feel, and interactivity of any Portals that utilize that theme. These files are organized into a directory structure that is analagous to a computer's file system.

All Portal Themes must have the following three top-level folders:

  • /pages - The pages directory contains the HTML templates used to draw the application pages required for all Portals to function. Titania Delivery templates are written using the Freemarker template language, which will be discussed later.
  • /static - The static directory contains website assets, such as images and CSS stylesheets, that are referenced from your page templates.
  • /xsl - The xsl directory contains the XSLT transforms that can convert XML content into HTML for display in the portal.

Offline packagers must be defined in the following directory:

  • /packagers - Specific packagers will be defined in subdirectories named after the packager (e.g. "webhelp"). Other subdirectories may be included to contain common templates and resources for all packagers.

In addition, Portal Themes should include a config.xml file at the root level. This file will contain parameters that allow for easy customization of a portal's appearance without actually modifying the theme.