Skin Templates
The first step of creating skin templates is to create its holding folder inside of the skins
directory. So if we were starting a new skin called goodness
then you would create a new folder in the following directory:
The following templates are the ones you will be skinning and placing in this folder. In all reality you could potentially just have one, CachePanel.cfm
. However, since you can bring in AJAX content to refresh certain parts of the panel, you break out its reporting functionality into various templates. The CFC in charge of rendering your skin templates is the ReportHandler.cfc
located in the same report package, so we recommend also reading its API for more in depth information. So let's explore them:
Template | Required | Description |
cachebox.js | true | The JavaScript file that will be automatically loaded into the header content via a |
cachebox.css | true | The css file that will be automatically loaded into the header content via a |
CachePanel.cfm | true | The main template that displays the report monitor to the user. This skin could potentially hold action buttons and other parts of the cache report rendered in specific locations by using rendering methods (see ReportHandler section). |
CacheReport.cfm | false | This template is usually rendered via the |
CacheContentReport.cfm | false | This template is usually rendered via the |
Info : All skins are rendered within the
ReportHandler
component. This means that you have access to this object's methods and local variables. We recommend you look at the default skin's templates for usage.
Last updated