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

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.

問題

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

環境

  • 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