Forums

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

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Aaron Paxson
Most Recent/Popular as a seperate portlet?
April 19, 2012 2:15 PM
Answer

Aaron Paxson

Rank: Regular Member

Posts: 103

Join Date: July 27, 2010

Recent Posts

At the bottom of a knowledgebase article, there is a collection of "Most Recent" and "Most Popular" list of posts. I'm guessing based on the category? Is there a portlet that contains *just* that data?

If not, is there an easy way to create a portlet with that data?

Thanks!
David H Nebinger
RE: Most Recent/Popular as a seperate portlet?
April 19, 2012 6:12 PM
Answer

David H Nebinger

Rank: Liferay Legend

Posts: 7509

Join Date: September 1, 2006

Recent Posts

I don't think there is one out of the box, but it should be easy to make your own. You've got the code for the KB, so just swipe the appropriate sections and have at it!
Aaron Paxson
RE: Most Recent/Popular as a seperate portlet?
April 20, 2012 10:47 AM
Answer

Aaron Paxson

Rank: Regular Member

Posts: 103

Join Date: July 27, 2010

Recent Posts

I know, and I've been looking. Tried doing a hook, but I can't find the code. There isn't a "KnowledgeBase Portlet" under the source. Best I can find is "Journal_Content" and "Journal_Article", but no code just yet. emoticon

Anyone have any ideas where this code is?
Hitoshi Ozawa
RE: Most Recent/Popular as a seperate portlet?
April 22, 2012 6:29 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7954

Join Date: March 23, 2010

Recent Posts

Check the following file:

webapps\knowledge-base-portlet\admin\article_asset_entries.jsp