The selected theme is not retained when importing a site template from another site template
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- Since the radio option is missing, importing a site template from another template does not maintain the selected theme.
-
Steps to reproduce
1) Navigate to Control Panel > Sites > Site Templates
2) Add a site template
3) Open the site template created in step 2
4) Navigate to Site Builder > Pages > Configure (Gear button)> Pages: Look and Feel
5) Click 'Change Current Theme' and select a theme other than the default one
6) Navigate to Publishing > Export
7) Export the site template ('Theme Settings' is checked) and download it
8) Navigate back to Control Panel > Sites > Site Templates
9) Add a site template
10)Open the site template created in step 9
11)Navigate to Publishing > Import
12)Notice that there are missing radio options compared to importing a Site (Theme Reference Option Missing)
13)Import the site template exported in step 7
14)Navigate to Site Builder > Pages > Configure (Gear button)> Pages: Look and Feel
15)Check the theme setting
Observed Behavior: The default theme (Classic theme) is selected.
Expected Behavior: Specified theme in step 5 is selected.
Environment
- Liferay DXP 7.2
- Liferay DXP 7.3
- Liferay DXP 7.4
Resolution
- The observed behavior is a known issue addressed by LPS-143170, that is already included in Liferay dxp U1.
Did this article resolve your issue ?