Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a UI/mvc folder in 
    Include Page
    _HomeFolder
    _HomeFolder
     and put the custom index file (for example custom_dashboard.stg) here.
  2. Create a webresources/mvc folder in 
    Include Page
    _HomeFolder
    _HomeFolder
     and put the JavaScript and CSS files here (optionally in /js and /css subfolders sub folders).
  3. Add a configuration section for your custom theme to aquima.properties in 
    Include Page
    _PropertiesFileJava
    _PropertiesFileJava
     in 
    Include Page
    _HomeFolder
    _HomeFolder
     root, as described in the Configuration section below.

...

The mvc.themes or name property specifies the name for the theme which will be displayed in the Runtime theme selector. The other two properties specify which StringTemplate index file should be used and which StringTemplate function should be called to render the index page (see "Creating the index file" above). The path to the index file is relative to either the JAR/DLL or the 

Include Page
_HomeFolder
_HomeFolder
/Configuration folder. When a filename file name is specified which is located in
Include Page
_HomeFolder
_HomeFolder
/Configuration and that is already loaded from a JAR, the file from 
Include Page
_HomeFolder
_HomeFolder
/Configuration will be used and the file from the JAR/DLL will be overridden. More information about overriding existing themes can be found on Extending themes.