Foren

Most viewed Journal articles Portlet

yassir houmame, geändert vor 15 Jahren.

Most viewed Journal articles Portlet

New Member Beiträge: 2 Beitrittsdatum: 18.12.08 Neueste Beiträge
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, geändert vor 15 Jahren.

Thread moved

Expert Beiträge: 488 Beitrittsdatum: 19.11.07 Neueste Beiträge
Thread moved: Development.
-jr
thumbnail
Zankar Shah, geändert vor 14 Jahren.

RE: Most viewed Journal articles Portlet

Regular Member Beiträge: 106 Beitrittsdatum: 03.10.07 Neueste Beiträge
Please check this

http://www.packtpub.com/article/setting-popular-journal-articles-personalized-community-liferay-portal
thumbnail
Anand Abhyankar, geändert vor 14 Jahren.

RE: Most viewed Journal articles Portlet

Junior Member Beiträge: 57 Beitrittsdatum: 26.03.08 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: Most viewed Journal articles Portlet

New Member Beiträge: 3 Beitrittsdatum: 10.12.12 Neueste Beiträge
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, geändert vor 10 Jahren.

RE: Most viewed Journal articles Portlet

Regular Member Beiträge: 140 Beitrittsdatum: 22.07.13 Neueste Beiträge
Hi Luca,
for your purpose please use Most viewed asset portlet that available with lifeay 6.2 it self.
shafeek.
Juha Anttila, geändert vor 9 Jahren.

RE: Most viewed Journal articles Portlet

New Member Beiträge: 14 Beitrittsdatum: 19.10.12 Neueste Beiträge
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, geändert vor 9 Jahren.

RE: Most viewed Journal articles Portlet

Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträge
You can use Popular Journal Article app available on Liferay market place.
thumbnail
s s, geändert vor 8 Jahren.

RE: Most viewed Journal articles Portlet

Junior Member Beiträge: 28 Beitrittsdatum: 29.01.10 Neueste Beiträge
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, geändert vor 8 Jahren.

RE: Most viewed Journal articles Portlet

Liferay Master Beiträge: 875 Beitrittsdatum: 07.01.11 Neueste Beiträge
Thanks for your suggestions. Will look into it and if possible will cover in next release.