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

DXPでBootstrapのバージョンを確認する方法は?

written-by

József Géczi

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

問題

  • 開発者としては、現在動作しているDXPのバージョン(とパッチレベル)で、正確にどのBootstrapのバージョンが適用されているかを確認したいです。

環境

  • DXP 7.0+

解決

  1. DXPに移動し、ブラウザコンソールを開きます。
  2. コンソール入力に次の行を挿入します。$.fn.tooltip.Constructor.VERSION
  3. returnを押して、現在のインスタンスに適用されている正確なBootstrapバージョンの出力を確認してください(添付のスクリーンショットの例を参照してください)。 Bootstrap 4.3.1 は、DXP 7.2 FP4に適用されています )
  • Note: Liferay 7.3では、JQueryはデフォルトでアクティブではないため、上記の入力は機能しません。 システム設定 > サードパーティ > JQuery > JQuery を有効にする から、設定を有効にします。
did-this-article-resolve-your-issue

legacy-knowledge-base