Specify the name of a custom theme
After adding a custom community theme to the Communities configuration file, specify the name of the new theme by adding a custom string containing the theme label to IBM Connections.
To specify the name of a custom community theme.
- Create a properties file containing the string for the community theme name and add it to the customization directory for Communities. For instructions about how to name the file, see step 1 of the topic, Add custom strings for widgets and other specified scenarios.
For example: customization/strings/com.ibm.lconn.communities.strings.ui.properties
If we have an existing file in this location, add the new string to this file rather than creating a new file.
- Open the properties file from the customization subdirectory for Communities and add the name of the custom theme definedd in the <comm:displayNameKey> element in communities-config.xml.
For example:label.theme.name.corporate=Corporate Theme
- Save the changes and close the properties file.
- To test the changes and to force all user web browsers to refresh cached content and display the changes, complete steps 5-8 of the topic, Customize product strings.
- Restart the Communities server.
Parent topic:
Add a custom theme to Communities
Related:
Add custom strings for widgets and other specified scenarios