Fórumok

having only one portlet filling the page without theme-CSS

thumbnail
Benjamin Aaron Degenhart, módosítva 10 év-val korábban

having only one portlet filling the page without theme-CSS

New Member Bejegyzések: 2 Csatlakozás dátuma: 2014.02.25. Legújabb bejegyzések
I am trying to have nothing but one "fullscreen" (filling the entire browser page without frames, other elements etc. around it) portlet on the main site that has no CSS from a theme going into it.
Since i can't seem to have "no theme" I assume it is about stripping the theme of all CSS and maximize the size of the portlet?
Thanks.
thumbnail
Victor Zorin, módosítva 10 év-val korábban

RE: having only one portlet filling the page without theme-CSS

Liferay Legend Bejegyzések: 1228 Csatlakozás dátuma: 2008.04.14. Legújabb bejegyzések
Setting windowState to EXCLUSIVE will render portlet's content without surrounding elements.

This is a common technique used when making <portlet:renderURL windowState="EXCLUSIVE" .../> calls during AJAX (background) loading.
thumbnail
Benjamin Aaron Degenhart, módosítva 10 év-val korábban

RE: having only one portlet filling the page without theme-CSS

New Member Bejegyzések: 2 Csatlakozás dátuma: 2014.02.25. Legújabb bejegyzések
Thanks Victor, that was the hint I needed.
I used POP_UP now because EXLCUSIVE cuts the ties to both CSS and JavaScript - i needed the latter though. Now i just need to find a way to not have the theme-CSS playing into the pop_up...

<portlet:renderURL var="setWindowStateURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>" />