Theme templates | HCL Digital Experience
You can use static HTML to write portal themes. Then, add static and server-side dynamic content by modifying the theme.html in WebDAV at fs-type1/themes/themename/theme.html.
Note: When you choose the Simple Theme for your site, you must apply the Basic (no theme)
site template so that all of your site pages inherit the Simple Theme. If you do not
apply the Basic (no theme) site template when you choose the Simple Theme, you must set
the theme for each page individually.
Note: If you create a custom theme that uses the Simple Theme template and later
enable search engine optimization (SEO), the custom theme does not render on
your portal page. Use the following steps to restore your custom theme:
- Export the theme by using XMLAccess.
- Modify the
context-root
so that it matches the changes you made when you enabled SEO. - Add the following parameter to the theme:
<parameter name="
com.ibm.portal.theme.hasBaseURL" type="string" update="set"><![CDATA[true]]></parameter>
- Save the theme file and import it by using XMLAccess.