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

サイトとライブラリのパンくずは現在のサイトのみ表示

Written By

Tony Ng

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.

問題

  • ウェブコンテンツ表示ウィジェットから選択する際、「サイトとライブラリ」パンくずリンクをクリックすると、現在のサイトのみが表示されます。
  • 以下はその再現手順である:
    1. 2023.Q4.4インスタンスを開始する。

    2. test-site "という新しいサイトを追加する。

    3. デフォルトの "Liferay DXP "サイトに戻る。

    4. ホームページにウェブコンテンツ表示ウィジェットを追加する。

    5. ケバブメニューをクリックし、Configurationを選択します。

    6. ウェブコンテンツを選択し、検索バーの下にある「サイトとライブラリ」のパンくずリンクをクリックします。

期待される結果 すべてのサイトが表示されること。 この例では、global、Liferay DXP、test-siteがリストされているはずです。

実際の結果 Liferay DXP サイトのみが表示されます。

環境

  • 2023.Q4

解像度

  • これは想定内の行動だ。 異なるサイト間でウェブコンテンツが共有されない理由については、以下の修正プログラムで説明しています。 LPS-102471:

    Liferayがこれに取り組む方法は、サイト階層を利用するか、グローバルサイトに共有コンテンツを格納する方法です。 これらのメカニズムは、上記のような状況のほとんどを解決してくれるが、システムの柔軟性は十分ではない。 例えば、グローバルサイトが福袋のようになり、サイト間で共有するためだけに無関係なアイテムが混在する可能性がある。 また、サイトの階層構造は、サイト間に厳密な関係がある場合(例えば、本社と地域サイト)には意味があるが、例えば、法務チームが作成したコンテンツを他の部門のサイトで再利用したい場合などには、ちょっと違う。

Did this article resolve your issue ?

Legacy Knowledge Base