Foros de discusión

Most viewed Journal articles Portlet

yassir houmame, modificado hace 15 años.

Most viewed Journal articles Portlet

New Member Mensajes: 2 Fecha de incorporación: 18/12/08 Mensajes recientes
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, modificado hace 15 años.

Thread moved

Expert Mensajes: 488 Fecha de incorporación: 19/11/07 Mensajes recientes
Thread moved: Development.
-jr
thumbnail
Zankar Shah, modificado hace 14 años.

RE: Most viewed Journal articles Portlet

Regular Member Mensajes: 106 Fecha de incorporación: 3/10/07 Mensajes recientes
Please check this

http://www.packtpub.com/article/setting-popular-journal-articles-personalized-community-liferay-portal
thumbnail
Anand Abhyankar, modificado hace 14 años.

RE: Most viewed Journal articles Portlet

Junior Member Mensajes: 57 Fecha de incorporación: 26/03/08 Mensajes recientes
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, modificado hace 10 años.

RE: Most viewed Journal articles Portlet

New Member Mensajes: 3 Fecha de incorporación: 10/12/12 Mensajes recientes
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, modificado hace 10 años.

RE: Most viewed Journal articles Portlet

Regular Member Mensajes: 140 Fecha de incorporación: 22/07/13 Mensajes recientes
Hi Luca,
for your purpose please use Most viewed asset portlet that available with lifeay 6.2 it self.
shafeek.
Juha Anttila, modificado hace 9 años.

RE: Most viewed Journal articles Portlet

New Member Mensajes: 14 Fecha de incorporación: 19/10/12 Mensajes recientes
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, modificado hace 9 años.

RE: Most viewed Journal articles Portlet

Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
You can use Popular Journal Article app available on Liferay market place.
thumbnail
s s, modificado hace 8 años.

RE: Most viewed Journal articles Portlet

Junior Member Mensajes: 28 Fecha de incorporación: 29/01/10 Mensajes recientes
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, modificado hace 8 años.

RE: Most viewed Journal articles Portlet

Liferay Master Mensajes: 875 Fecha de incorporación: 7/01/11 Mensajes recientes
Thanks for your suggestions. Will look into it and if possible will cover in next release.