legacy-knowledge-base
公開されました Sep. 10, 2025

テーマジェネレーターで生成されたテーマを使用すると、ポートレットメニューにオプションが表示されない。

written-by

Eugene Shin

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

問題

  • こちらの手順でテーマジェネレーターが生成したベーステーマを使用する場合、ポートレットメニューには「権限」と「設定テンプレート」のみが表示されます。

Environment

  • テーマジェネレーターのバージョン10.x.xを使用してLiferay 7.4用に生成したテーマ。

解決策

  1. テーマのwarファイルを開く。
  2. templates/portlet.ftlに移動します。
  3. liferay_portlet のインスタンスを liferay_frontend に変更します(例: <@liferay_portlet["icon-options"]<@liferay_frontend["icon-options"]に変更 )。

did-this-article-resolve-your-issue

legacy-knowledge-base