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

learn-legacy-article-disclaimer-text

問題

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

環境

  • Liferay DXP 7.4

解像度

  • あなたのテーマで正しいアイコンが利用できるかどうかは、package.json に liferay-frontend-theme-styledliferay-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