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

アプリケーションディスプレイテンプレートの初期値を変更する

written-by

Liferay Support

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. 以下の場所から、テンプレートキーを取得
    コントロールパネル>サイト>グローバルサイト>編集>アプリケーション・ディスプレイ・テンプレート>任意のテンプレート>テンプレートキー
  2. コントロールパネル>設定>システム設定 から、変更したいポートレットを選択
  3. 「ddmTemplate_<ADTの”テンプレートキー”>」の形式で”Display Style”に値を設定

設定例:
言語選択ポートレットのアプリケーションディスプレイテンプレートを「長いテキスト」に変更する

  1. コントロールパネル>サイト>グローバルサイト>編集>アプリケーション・ディスプレイ・テンプレート へ移動
  2. 「長いテキスト」を選択
  3. テンプレートキーを取得(LANGUAGE-LONG-TEXT-FTL)
    FTL-sample.png
  4. コントロールパネル>設定>システム設定 へ移動
  5. 「言語選択」を選択
  6. ”Display Style”へ”ddmTemplate_LANGUAGE-LONG-TEXT-FTL”を設定し保存

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base