掲示板

Most viewed Journal articles Portlet

15年前 に yassir houmame によって更新されました。

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
15年前 に JR Houn によって更新されました。

Thread moved

Expert 投稿: 488 参加年月日: 07/11/19 最新の投稿
Thread moved: Development.
-jr
thumbnail
14年前 に Zankar Shah によって更新されました。

RE: Most viewed Journal articles Portlet

Regular Member 投稿: 106 参加年月日: 07/10/03 最新の投稿
Please check this

http://www.packtpub.com/article/setting-popular-journal-articles-personalized-community-liferay-portal
thumbnail
14年前 に Anand Abhyankar によって更新されました。

RE: Most viewed Journal articles Portlet

Junior Member 投稿: 57 参加年月日: 08/03/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
10年前 に Luca Lauretta によって更新されました。

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
10年前 に Muhammed Shafeek V によって更新されました。

RE: Most viewed Journal articles Portlet

Regular Member 投稿: 140 参加年月日: 13/07/22 最新の投稿
Hi Luca,
for your purpose please use Most viewed asset portlet that available with lifeay 6.2 it self.
shafeek.
9年前 に Juha Anttila によって更新されました。

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
9年前 に Jitendra Rajput によって更新されました。

RE: Most viewed Journal articles Portlet

Liferay Master 投稿: 875 参加年月日: 11/01/07 最新の投稿
You can use Popular Journal Article app available on Liferay market place.
thumbnail
8年前 に s s によって更新されました。

RE: Most viewed Journal articles Portlet

Junior Member 投稿: 28 参加年月日: 10/01/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
8年前 に Jitendra Rajput によって更新されました。

RE: Most viewed Journal articles Portlet

Liferay Master 投稿: 875 参加年月日: 11/01/07 最新の投稿
Thanks for your suggestions. Will look into it and if possible will cover in next release.