Changing theme metadata

The first order of theme configuration is through theme metadata properties. Changes to the metadata are specific to a single theme, and the entries and values, therefore, can vary from theme to theme.

About this task

The theme metadata is located in the folder for your theme in themelist.

Procedure

  1. Connect your WebDAV client to http://localhost:10039/wps/mycontenthandler/dav/themelist/
  2. From the folder for your theme, copy the metadata.properties file to local drive.
  3. Edit the local copy of the file and modify the property values as needed according to the following table.
  4. Copy the local copy of the metadata.properties file back into the folder for your theme in themelist.

Results

Table 1. Metadata properties and values.
Property Default Value Description
com.ibm.portal.layout.template.href
dav/:fs-type1/themes/Portal8.0/layout-templates/2ColumnEqual/ Change this value to say which layout template is used by default on pages in your theme. After initially creating your theme by cloning the IBM® WebSphere® Portal 8.0 theme, be sure to replace Portal8.0 in the path with the name of the folder for your theme.
resourceaggregation.profile
profiles/profile_deferred.json Change this value to say which profile .json file (list of modules) to load. The path value is relative to the folder for your theme in fs-type1.
com.ibm.portal.theme.template.ref
dav/:fs-type1/themes/Portal8.0/ Change this value to say in which folder your custom theme's templates are located. Be sure to replace Portal8.0 with the name of your custom theme folder.
com.ibm.portal.theme.aggregationmodes
ssa This metadata is a comma separated list of the page modes the theme supports. The Portal8.0 theme supports SSA only. The other possible mode is CSA, which is supported by Page Builder themes migrated from WebSphere Portal 7.0