Embeding one liferay page in another using iframe

JIna :), modified 9 Years ago. New Member Posts: 22 Join Date: 10/16/13 Recent Posts
Hi,

Some of web pages in our portal could be accessed directly or are embedded using iframe in another pages.
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?

Using Liferay 6.2.
thumbnail
Samuel Kong, modified 9 Years ago. Liferay Legend Posts: 1902 Join Date: 3/10/08 Recent Posts
There's nothing OOTB for this. However, if you're only dealing with a single portlet, you can set the window state to LiferayWindowState.POP_UP. This will render only the portlet (i.e., everything else like the dockbar, theme, portlet border will be gone).