legacy-knowledge-base
公開されました Jul. 2, 2025

プライベートページしかないサイトでは、カスタムテーマを使ったスタイルブックが機能しない

written-by

Kanchan Bisht

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

問題

  • カスタムテーマのカテゴリーとトークンがスタイルブックエディターで利用できない
    再現するための手順:
    1) カスタムスタイルブック・カテゴリーを含むテーマ(https://github.com/lfrsales/73-formed-theme)をデプロイします。
    2) 新しいサイトを作成します。
    3) サイトにプライベートページを追加し、公開します。
    4) カスタムテーマをプライベートページに割り当てます。
    5) 新しいスタイルブックを作成します。
    期待される動作 カスタムテーマのカテゴリとトークンは、スタイルブックエディターで利用可能です。
    観察された動作: カスタムテーマのカテゴリーとトークンは、スタイルブック・エディターで利用できません。 カテゴリとトークンは、公開ページが作成された時点で利用可能になります。

環境

  • Liferay DXP 7.3

解決策

  • この現象は既知のバグであり、 DXP 7.3 fix-pack-1で対処しています。
  • この問題に対してHotfixが必要な場合は、パッチの詳細を添付して、Hotfixを要求するサポートチケットを作成してください。
  • Liferay DXPへのFix PackとHotfixのインストール このHotfixを各環境にインストールするためのガイドを示します。

追加情報

  • LPS-121611
  • 本修正により、以下の内容が適用されます:
    特定のページのテーマを変更した場合、「ルック&フィール」の設定とページデザインオプションパネルに以下のメッセージが表示される。

    This page is using a different theme than the one set for public pages. Note that style books will only be available for pages that use the theme set in public pages.

    プライベートページのテーマを変更する際、「ルック&フィール」設定に以下のメッセージが表示されます。

    Private pages is using a different theme than the one set for public pages. Note that style books will only be available for pages that use the theme set in public pages.

    スタイルブックエディターのサイドバーに、以下のメッセージが表示されます。

    This token definition belongs to the theme set for public pages.
did-this-article-resolve-your-issue

legacy-knowledge-base