Fórumok

Why are Recent Assets forced to open Maximized?

thumbnail
Aaron Paxson, módosítva 11 év-val korábban

Why are Recent Assets forced to open Maximized?

Regular Member Bejegyzések: 102 Csatlakozás dátuma: 2010.07.28. Legújabb bejegyzések
When clicking on links that are generated from the Related Assets from the Knowledgebase Portlet, all content is maximized. Under the getURL() method:

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!
thumbnail
Aaron Paxson, módosítva 11 év-val korábban

RE: Why are Recent Assets forced to open Maximized?

Regular Member Bejegyzések: 102 Csatlakozás dátuma: 2010.07.28. Legújabb bejegyzések
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