Legacy Knowledge Base
Published Jun. 30, 2025

Widgets don't have all configuration options when using a custom theme

Written By

Christopher Lui

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

After applying a newly created theme to the Look and Feel of a Site's pages, I can only see Permissions and Configuration Templates when trying to configure a widget.

Environment

  • Liferay 7.4

Resolution

When creating a theme, the portlet.ftl is slightly different from the Classic theme, causing the difference between the drop down menus. It will create them with a piece of code like:

<@liferay_portlet["icon-options"]

If you check Liferay's Classic theme portlet.ftl, located at /osgi/marketplace/Liferay Foundation - Liferay Frontend Theme - Impl.lpkg -> classic-theme-$version.war -> /templates/portlet.ftl

You will see that the code is:

<@liferay_frontend["icon-options"]

To add the same menu options as the Classic theme:

1. Open your theme .war, go to templates/portlet.ftl,

2. Change all instances of <@liferay_portlet["icon-options"] to <@liferay_frontend["icon-options"]

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base