Using the Iframe Widget
The Iframe widget creates an iframe that can embed and display a web page.
Setting Up the Iframe Widget
-
Click Add () to open the Fragments and Widgets panel.
-
Under the Sample category in the Widgets tab, drag the iFrame widget to a place on the page.
-
Click Options () in the widget header → Configuration.
NoteBefore Liferay DXP 2025.Q1, the Configuration option appeared in the widget’s top-right corner.
-
Enter the website URL you wish to embed in the Source URL field.
-
Click Save.
Note that not all websites let you display their page in an Iframe widget.
Using the Iframe Widget
Using the Iframe widget is as simple as navigating any other typical website. Once you have finished setting up your widget, you can navigate to your page and view the embedded website.
You can interact with the website from within the widget without ever having to leave your page.