Legacy Knowledge Base
公開されました Jun. 30, 2025

カスタム管理テーマでアクセシビリティ・アイコンが表示されない

Written By

Jorge García Jiménez

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.

問題

  • カスタム管理テーマを作成したのですが、インスタンス設定やシステム設定に行くと、いくつかのアイコン、例えばアクセシビリティアイコンが表示されません。

環境

  • Liferay DXP 7.4

解像度

  • あなたのテーマで正しいアイコンが利用できるかどうかは、package.json に liferay-frontend-theme-styled と liferay-frontend-theme-unstyled の正しいバージョンがあるかどうかに依存します。
  • これらのテーマのバージョンはコントロールパネル -> GoGo シェルから以下のコマンドで確認できます:
    lb styled
  • その後、カスタムテーマのpackage.jsonでそれらのバージョンを調整する。 例として、Liferay DXP 7.4 u86の場合は以下のようになります:
    "liferay-frontend-theme-styled": "6.0.67",
    "liferay-frontend-theme-unstyled": "6.0.55",
  • バージョンを調整したら、以下のコマンドを実行する。
    • npmを使用している場合:
      npm install && npm run build
    • 毛糸を使う場合:
      yarn && yarn deploy
  • 新しいビルドテーマをLiferayのインストールにデプロイし、問題が解決するか確認してください。

追加情報:

Did this article resolve your issue ?

Legacy Knowledge Base