留言板

Most viewed Journal articles Portlet

yassir houmame,修改在15 年前。

Most viewed Journal articles Portlet

New Member 帖子: 2 加入日期: 08-12-18 最近的帖子
Dear all,

I'm looking for a portlet that automaticaly summarizes the most viewed (Popoular) Journal Articles.

Thanx for your help

Yassir
thumbnail
JR Houn,修改在15 年前。

Thread moved

Expert 帖子: 488 加入日期: 07-11-19 最近的帖子
Thread moved: Development.
-jr
thumbnail
Zankar Shah,修改在14 年前。

RE: Most viewed Journal articles Portlet

Regular Member 帖子: 106 加入日期: 07-10-3 最近的帖子
Please check this

http://www.packtpub.com/article/setting-popular-journal-articles-personalized-community-liferay-portal
thumbnail
Anand Abhyankar,修改在14 年前。

RE: Most viewed Journal articles Portlet

Junior Member 帖子: 57 加入日期: 08-3-26 最近的帖子
You can use Asset Publisher for this purpose.

Follow these steps :-

1. In Configure, click on Query Logic Tab.
2. Select Asset Type as 'Web Content' (formarly known as Journal Article).
3. In Display Settings tab, for Order By Column 1 field, select View Count and sort ascending or descending as per your requirement.
4. Save and you are done!

(I am using Liferay 5.2.3)
thumbnail
Luca Lauretta,修改在10 年前。

RE: Most viewed Journal articles Portlet

New Member 帖子: 3 加入日期: 12-12-10 最近的帖子
How to do that in Liferay 6.2 using the Asset Publisher?

I can't find the "view count" option in the "Order by" section of Asset Publisher configuration.
But still, there is a "view count" metadata field available in the display settings.

Any suggestions?
thumbnail
Muhammed Shafeek V,修改在10 年前。

RE: Most viewed Journal articles Portlet

Regular Member 帖子: 140 加入日期: 13-7-22 最近的帖子
Hi Luca,
for your purpose please use Most viewed asset portlet that available with lifeay 6.2 it self.
shafeek.
Juha Anttila,修改在9 年前。

RE: Most viewed Journal articles Portlet

New Member 帖子: 14 加入日期: 12-10-19 最近的帖子
I found out that the view-count and rating ordering options are built into the asset publisher in Liferay 6.2 (in file ROOT.war/html/portlet/asset_publisher/configuration_dynamic.jsp) :

<aui:option label="create-date" selected="<%= orderByColumn1.equals(&quot;createDate&quot;) %>" value="createDate" />
	<aui:option label="modified-date" selected="<%= orderByColumn1.equals(&quot;modifiedDate&quot;) %>" value="modifiedDate" />
	<aui:option label="publish-date" selected="<%= orderByColumn1.equals(&quot;publishDate&quot;) %>" value="publishDate" />
	<aui:option label="expiration-date" selected="<%= orderByColumn1.equals(&quot;expirationDate&quot;) %>" value="expirationDate" />
	<aui:option label="priority" selected="<%= orderByColumn1.equals(&quot;priority&quot;) %>" value="priority" />

	<c:if test="<%= !PropsValues.ASSET_PUBLISHER_SEARCH_WITH_INDEX %>">
		<aui:option label="view-count" selected="<%= orderByColumn1.equals(&quot;viewCount&quot;) %>" value="viewCount" />
		<aui:option label="ratings" selected="<%= orderByColumn1.equals(&quot;ratings&quot;) %>" value="ratings" />
	</c:if>


To enable view-count and ratings ordering one must have

asset.publisher.search.with.index=false


in his/her portal-ext.properties.

I have not found out what effect this actually has besides enabling the 2 more items in the dropdown list. Maybe has something to do with performance (database vs. index)?
thumbnail
Jitendra Rajput,修改在9 年前。

RE: Most viewed Journal articles Portlet

Liferay Master 帖子: 875 加入日期: 11-1-7 最近的帖子
You can use Popular Journal Article app available on Liferay market place.
thumbnail
s s,修改在8 年前。

RE: Most viewed Journal articles Portlet

Junior Member 帖子: 28 加入日期: 10-1-29 最近的帖子
On 6.2 , the delivered Most-Viewed portlet works well (ability to configure different asset types, respects cat-nav selections) EXCEPT you cannot click the links to go to the asset or have it displayed - killer flaw. Or am I missing a setting? Problem on both CE and EE. This was good when it was part of AssetPublisher, logical choice to leave it in there (just another sort).

That free app-store one, Popular Article, is nice - thanks very much for providing. Tabs idea is great. Very good start and could be extended to be great. E.g. Do not limit to only "article" assets (do at least documents), and more config options -- e.g. pick a specific category of asset or structure of article would even be nice. Clicking the title should also just preview within a portlet (like preview) - rather than displaying on blank page. Add tabs for Newly Added, Newly Revised and it would be smokin. Ability to config output (ADT?) would be excellent but you could just add toggles for common fields (e.g. suppress author). Locate article is a nice feature I wouldnt have thought of. .
thumbnail
Jitendra Rajput,修改在8 年前。

RE: Most viewed Journal articles Portlet

Liferay Master 帖子: 875 加入日期: 11-1-7 最近的帖子
Thanks for your suggestions. Will look into it and if possible will cover in next release.