Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
dave ch
Most Viewed tags
February 4, 2013 4:25 AM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

Hi all,

Currently i am using Tag-navigation portlet for displaying my tags. This portlet is showing my tags in alphabetical order. I want to display the most viewed tags first and not in an alphabetical order. How can i achieve this?
Any help will be appreciated.

Regards,

Dave
dave ch
RE: Most Viewed tags
February 4, 2013 9:28 PM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

Seems to be like no body has implemented it.
dave ch
RE: Most Viewed tags
February 6, 2013 2:15 AM
Answer

dave ch

Rank: Regular Member

Posts: 164

Join Date: February 6, 2012

Recent Posts

Do i need to customize Tag-navigation portlet, i,e, do i need to create one custom field using expando and then need to build the logic or there is already some existing fields for this portlet in Liferay db for this issue..

Any input will be appreciated.

Regards,

Dave
Javier Sánchez
RE: Most Viewed tags
February 11, 2013 11:26 AM
Answer

Javier Sánchez

Rank: New Member

Posts: 12

Join Date: January 8, 2013

Recent Posts

Hi Dave,

You can create a hook that modifies configuration.jsp in asset_tags_navigation portlet to add a new option: alphabetical or most viewed order. The hook has to modify the asset_tags_navigation taglib too, in order to add a new parameter and the logic to order the tags.

Regards