ODS Wiki Templates Engine

You can add a new template from the ODS Wiki UI -> Cluster Settings

Adding a new skin

To add a new skin, execute the following steps:

  1. The location of skins live is in:

    /DAV/VAD/wiki/Root/Skins/<skin-name>

  2. For every skin folder there are the following files:

    PostProcess.xslt default.css

  3. Create a new folder in directory /DAV/VAD/wiki/Root/Skins/
  4. Copy PostProcess.xslt and default.css files to folder from one of the already existing folders in directory /DAV/VAD/wiki/Root/Skins/
  5. Apply your changes in PostProcess.xslt and default.css files in folder.
  6. Now go from your wiki page to 'Cluster Settings', is already available.
  7. Remember to xslt_stale() the xslt after every further change. Look here how to do it.
  8. In ODS Wiki Cluster Settings you can specify both primary and secondary skins and a regexp to switch between them, look here for an example.

CategoryODS CategoryOpenSource CategoryWiki CategoryHowTo