+

Search Tips   |   Advanced Search

Copy the static resources for the theme

Make a copy of the Portal 8.5 theme static resources before customizing the custom theme...

  1. Enable development mode by going to the WP ConfigService resource environment provider and setting...

    If development mode is not enabled, to use our new theme, restart the portal server to pick up changes.

  2. Connect the WebDAV client, such as WebDrive or AnyClient, to...

      http://host:port/wps/mycontenthandler/dav/themelist/

  3. Copy the ibm.portal.85Theme folder to a local disk.

  4. Rename the folder to the name of the theme, such as myTheme.

  5. In the metadata folder, edit the file...

      localized_en.properties

    ...or whichever file is the default locale, and change the value of the title key to the display name of the theme, such as Custom Theme.

  6. Save the file.

  7. Repeat this step for any of the other locale files for the languages to support.

  8. Edit the metadata.properties file and change the Portal8.5 part of the value...

      com.ibm.portal.layout.template.href

    ...to...

      myTheme

    Make sure that we have two properties that look like the following example:

      com.ibm.portal.layout.template.href=dav\:fs-type1/themes/myTheme/layout-templates/2ColumnEqual/
      resourceaggregation.profile=profiles/profile_deferred.json

  9. Save the file.

  10. Delete the skins folder from the myTheme, which removes the extra copies of the skins shipped with HCL WebSphere Portal. Your custom skin is created in a later step.

      myTheme/skins

  11. Copy the entire myTheme folder into the themelist folder.

  12. Double-check the contents of the myTheme folder in the themelist to ensure that everything is copied correctly.

    Compare each subfolder in myTheme to the corresponding subfolder in ibm.portal.85Theme to ensure that it looks like the correct number of files were copied. Recopy any files or subfolders that are missing. In particular, be sure to:

    1. Double-check the contents of the metadata.properties file in the themelist.

      Ensure the URI is encoded. If there are spaces or other characters that are not allowed, the theme does not work.

    2. Double-check the contents of the profiles folder and ensure all the profile files are there.


Parent Create a copy of the theme

Related concepts:

Deploy themes with cacheable resources