Perforce Chronicle themes are comprised of layouts, view scripts, stylesheets, JavaScript, images and other multimedia files. All of these resources are contained in a folder whose name identifies the theme.
The theme folder can be placed in two locations within the Chronicle hierarchy,
identified below as CMSDIR
, depending on whether the theme should be
available to all hosted sites, or to just a single particular site.
CMSDIR
/sites/all/themes
CMSDIR
/sites/site-id
/themes
The structure of the folder that contains a theme is, by default, as follows:
helpers/ - contains view helpers images/ - contains images layouts/ - contains layout view scripts scripts/ - contains JavaScript files styles/ - contains CSS stylesheets views/module
/ - contains view scripts for a specific modulecontroller
/ - contains view scripts for a specific controlleraction
.phtml - a view script for a specific action icon.png - the theme's icon theme.ini - configuration file