Issue
- The categories and tokens for the custom theme are not available in the stylebook editor
Steps to reproduce:
1) Deploy a theme that includes custom stylebook categories (https://github.com/lfrsales/73-formed-theme).
2) Create a new Site.
3) Add a private page to the site and publish it.
4) Assign the custom theme to the private page.
5) Create a new stylebook.
Expected Behavior: The categories and tokens for the custom theme are available in the stylebook editor.
Observed Behavior: The custom theme's categories and tokens are not available in the stylebook editor. The categories and tokens are available once a public page has been created.
Environment
- Liferay DXP 7.3
Resolution
- The observed behavior is a known bug and is addressed in DXP 7.3 fix-pack-1.
- If the hotfix is required for this issue, please create a support ticket requesting the hotfix by attaching the patch details.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide to install this hotfix in the respective environment.
Additional Information
- LPS-121611
-
The following is applied as a result of this fix:
When changing a theme of a specific page, the following message is shown in the 'look and feel' settings and Page Design Options panelThis page is using a different theme than the one set for public pages. Note that style books will only be available for pages that use the theme set in public pages.
When changing the theme of the Private Page, the following message is shown in the 'look and feel' settings.
Private pages is using a different theme than the one set for public pages. Note that style books will only be available for pages that use the theme set in public pages.
The following message is shown in the stylebook editor sidebar
This token definition belongs to the theme set for public pages.