Legacy Knowledge Base
Published Jun. 30, 2025

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

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

  • 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.

Environment

  • Liferay DXP 7.4

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.

Additional Information

  • Please note that the Site Initializers is an interface that allows developers to write any desired code that is executed when a site is created and the administrator selects that site initializer. They are presented to the administrator just like Site Templates are, but it's a programmer who decides what the newly created site will be created like. The article Introducing Site Initializers shared earlier explains more about it.
Did this article resolve your issue ?

Legacy Knowledge Base