Forums de discussion

Most viewed Journal articles Portlet

yassir houmame, modifié il y a 15 années.

Most viewed Journal articles Portlet

New Member Publications: 2 Date d'inscription: 18/12/08 Publications récentes
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, modifié il y a 15 années.

Thread moved

Expert Publications: 488 Date d'inscription: 19/11/07 Publications récentes
Thread moved: Development.
-jr
thumbnail
Zankar Shah, modifié il y a 14 années.

RE: Most viewed Journal articles Portlet

Regular Member Publications: 106 Date d'inscription: 03/10/07 Publications récentes
Please check this

http://www.packtpub.com/article/setting-popular-journal-articles-personalized-community-liferay-portal
thumbnail
Anand Abhyankar, modifié il y a 14 années.

RE: Most viewed Journal articles Portlet

Junior Member Publications: 57 Date d'inscription: 26/03/08 Publications récentes
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, modifié il y a 10 années.

RE: Most viewed Journal articles Portlet

New Member Publications: 3 Date d'inscription: 10/12/12 Publications récentes
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, modifié il y a 10 années.

RE: Most viewed Journal articles Portlet

Regular Member Publications: 140 Date d'inscription: 22/07/13 Publications récentes
Hi Luca,
for your purpose please use Most viewed asset portlet that available with lifeay 6.2 it self.
shafeek.
Juha Anttila, modifié il y a 9 années.

RE: Most viewed Journal articles Portlet

New Member Publications: 14 Date d'inscription: 19/10/12 Publications récentes
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, modifié il y a 9 années.

RE: Most viewed Journal articles Portlet

Liferay Master Publications: 875 Date d'inscription: 07/01/11 Publications récentes
You can use Popular Journal Article app available on Liferay market place.
thumbnail
s s, modifié il y a 8 années.

RE: Most viewed Journal articles Portlet

Junior Member Publications: 28 Date d'inscription: 29/01/10 Publications récentes
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, modifié il y a 8 années.

RE: Most viewed Journal articles Portlet

Liferay Master Publications: 875 Date d'inscription: 07/01/11 Publications récentes
Thanks for your suggestions. Will look into it and if possible will cover in next release.