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 supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability 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

Capabilities

Product

Education

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy