Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Aaron Paxson
Why are Recent Assets forced to open Maximized?
14 gennaio 2013 18.15
Risposta

Aaron Paxson

Punteggio: Regular Member

Messaggi: 103

Data di Iscrizione: 27 luglio 2010

Messaggi recenti

When clicking on links that are generated from the Related Assets from the Knowledgebase Portlet, all content is maximized. Under the getURL() method:

 1com.liferay.knowledgebase.admin.util.KBArticleAssetEntriesUtil.getUrl() {
 2   ...
 3   ...
 4   portletURL.setWindowState(WindowState.MAXIMIZED);
 5   portletURL.setPortletMode(PortletMode.VIEW);
 6
 7   portletURL.setParameter("returnToFullPageURL", currentURL);
 8
 9   return portletURL.toString();
10}


2 Questions:

1). Why force it in code?
2). How can we override?

Thanks!
Aaron Paxson
RE: Why are Recent Assets forced to open Maximized?
17 gennaio 2013 14.28
Risposta

Aaron Paxson

Punteggio: Regular Member

Messaggi: 103

Data di Iscrizione: 27 luglio 2010

Messaggi recenti

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