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

ページ作成時のレイアウトのデフォルト値を変更したい

written-by

Yu Kakiuchi

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

問題

  • ページ作成時のレイアウトのデフォルト値を、2 columnsから、1 columnsに変更できますか

環境

  • Liferay DXP 7.0, 7.1, 7.2, 7.3

解決

  • プロパティの調整で変更が可能です
  • 1 columnsへ変更したい場合、portal-ext.propertiesへ以下の設定を追加します
    default.layout.template.id=1_colmun

追加情報

  • その他の設定可能な値につきましては、こちらを参照ください。

https://github.com/liferay/liferay-portal/blob/7.1.x/portal-web/docroot/WEB-INF/liferay-layout-templates.xml

did-this-article-resolve-your-issue

legacy-knowledge-base