<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Embeding one liferay page in another using iframe</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=87265253" />
  <subtitle>Embeding one liferay page in another using iframe</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=87265253</id>
  <updated>2026-04-05T15:53:02Z</updated>
  <dc:date>2026-04-05T15:53:02Z</dc:date>
  <entry>
    <title>RE: Embeding one liferay page in another using iframe</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=87274616" />
    <author>
      <name>Samuel Kong</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=87274616</id>
    <updated>2017-03-17T10:03:30Z</updated>
    <published>2017-03-17T10:03:30Z</published>
    <summary type="html">There&amp;#39;s nothing OOTB for this. However, if you&amp;#39;re only dealing with a single portlet, you can set the window state to &lt;span style="font-family: Courier New"&gt;LiferayWindowState.POP_UP&lt;/span&gt;. This will render only the portlet (i.e., everything else like the dockbar, theme, portlet border will be gone).</summary>
    <dc:creator>Samuel Kong</dc:creator>
    <dc:date>2017-03-17T10:03:30Z</dc:date>
  </entry>
  <entry>
    <title>Embeding one liferay page in another using iframe</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=87265252" />
    <author>
      <name>JIna :)</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=87265252</id>
    <updated>2017-03-17T07:17:39Z</updated>
    <published>2017-03-17T07:17:39Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;Some of web pages in our portal could be accessed directly or are embedded using iframe in another pages.&lt;br /&gt;For admin dockbar element should be shown only if page is not embedded. How to do that? Is it possible somehow to check that state in theme velocity template and skip docbar loading?&lt;br /&gt;&lt;br /&gt;Using Liferay 6.2.</summary>
    <dc:creator>JIna :)</dc:creator>
    <dc:date>2017-03-17T07:17:39Z</dc:date>
  </entry>
</feed>
