Foren

Embeding one liferay page in another using iframe

JIna :), geändert vor 7 Jahren.

Embeding one liferay page in another using iframe

New Member Beiträge: 22 Beitrittsdatum: 16.10.13 Neueste Beiträge
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, geändert vor 7 Jahren.

RE: Embeding one liferay page in another using iframe

Liferay Legend Beiträge: 1902 Beitrittsdatum: 10.03.08 Neueste Beiträge
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).