legacy-knowledge-base
公開されました Jun. 30, 2025

コントロールパネルのファビコンを変更する方法

written-by

Alvaro Cabello Díaz

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

問題

  • コントロールパネルのデフォルトアイコンをカスタムなものに変更する方法はありますか?

環境

  • DXP 7.4

解決

  • ファビコンを変更するには2つの方法があります:
    • 最も簡単な方法は、独自のテーマを作成し、そこでカスタムアイコンを使用することです。
    • もう一つの方法は、portal-ext.propertiesファイルに以下のプロパティを追加することです:
      theme.shortcut.icon=../../../myfavicon.ico
      myfavicon.ico は使用したいファイル名です。 また、このファイルには拡張子 .ico を含めることも重要です。 その後、Tomcatフォルダの webapps/ROOT/myfavicon.ico に配置します。
      *このオプションはあまり推奨されません。なぜなら、アップデートをするときに、すべてが問題なく、何も上書きされていないことを確認するのを忘れないようにしなければならないからです。 また、ファイルやパスが変更されたり削除されたりしていないこともチェックする必要があります。

結果の一例:

did-this-article-resolve-your-issue

legacy-knowledge-base