Custom Themes are no longer shown as Site Templates in DXP 7.4
written-by
Madhusudan Sharma
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
learn-legacy-article-disclaimer-text
Issue
- In Liferay DXP 7.3, custom themes were seen under Site Templates Pop Up (Control Panel > Site > Choosing the template).
- However, in Liferay DXP 7.4, custom themes do not come under Site Templates, and is rather inconvenient to pick a theme.
Resolution
- It is the expected behavior of the Product (Liferay DXP 7.4).
- The reason behind this is that the part of the code that was responsible for generating these site templates was the 'Resources Importer', a tool that existed for a very long time and was tied to themes.
- The “Resources Importer” gave the possibility of initializing a site with data when a theme is applied to a site and for this, the custom themes were coming under the site templates section.
- However, this tool (Resource Importer) has been deprecated from the latest versions, and 'Site Initializers' came into the picture with the same intention. As a result, custom themes are no longer shown as Site Templates in Liferay DXP 7.4 and Site Initializers are present there.
did-this-article-resolve-your-issue