Foros de discusión
having only one portlet filling the page without theme-CSS
Benjamin Aaron Degenhart, modificado hace 10 años.
having only one portlet filling the page without theme-CSS
New Member Mensajes: 2 Fecha de incorporación: 25/02/14 Mensajes recientes
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.
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.
Victor Zorin, modificado hace 10 años.
RE: having only one portlet filling the page without theme-CSS
Liferay Legend Mensajes: 1228 Fecha de incorporación: 14/04/08 Mensajes recientes
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.
This is a common technique used when making <portlet:renderURL windowState="EXCLUSIVE" .../> calls during AJAX (background) loading.
Benjamin Aaron Degenhart, modificado hace 10 años.
RE: having only one portlet filling the page without theme-CSS
New Member Mensajes: 2 Fecha de incorporación: 25/02/14 Mensajes recientes
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() %>" />
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() %>" />