Fórum
Why are Recent Assets forced to open Maximized?
Aaron Paxson, modificado 11 Anos atrás.
Why are Recent Assets forced to open Maximized?
Regular Member Postagens: 102 Data de Entrada: 28/07/10 Postagens Recentes
When clicking on links that are generated from the Related Assets from the Knowledgebase Portlet, all content is maximized. Under the getURL() method:
2 Questions:
1). Why force it in code?
2). How can we override?
Thanks!
com.liferay.knowledgebase.admin.util.KBArticleAssetEntriesUtil.getUrl() {
...
...
portletURL.setWindowState(WindowState.MAXIMIZED);
portletURL.setPortletMode(PortletMode.VIEW);
portletURL.setParameter("returnToFullPageURL", currentURL);
return portletURL.toString();
}
2 Questions:
1). Why force it in code?
2). How can we override?
Thanks!
Aaron Paxson, modificado 11 Anos atrás.
RE: Why are Recent Assets forced to open Maximized?
Regular Member Postagens: 102 Data de Entrada: 28/07/10 Postagens Recentes
Cross-Posted into the Development forum. In hindsight, this may not have been the best place for this post: http://www.liferay.com/community/forums/-/message_boards/message/20784061