Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Aaron Paxson
Why are Recent Assets forced to open Maximized?
January 17, 2013 2:30 PM
Answer

Aaron Paxson

Rank: Regular Member

Posts: 103

Join Date: July 27, 2010

Recent Posts

I'm sorry. I'm cross-posting this, since I realized I may have posted this to the wrong forum:


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?

My problem is that I"m using it as kind of a "latest status" of my site (http://myteneo.net). But, when clicking on the links, it forces maximized, and I don't get my ads or additional portlets displayed.

Thanks!
Aaron Paxson
RE: Why are Recent Assets forced to open Maximized?
May 2, 2013 2:57 PM
Answer

Aaron Paxson

Rank: Regular Member

Posts: 103

Join Date: July 27, 2010

Recent Posts

So, other than changing the code, there is not any other way? Either that, or no one really needs this functionality?

The problem is, it bypasses my ads and other content on the page.