« Back to Portlets

Asset Publisher Portlet

Alternative Languages: 日本語

Introduction #

This portlet used to be called "Tagged Content" portlet prior to Liferay 4.3.5.

The Asset Publisher is a very flexible tool to publish many types of contents. It allows showing lists of web contents, blog entries, images, documents, bookmarks, wiki pages... Each element of the list might be shown as a mere title, a summary (aka abstract), or even in full details etc.

Asset Publisher also allows the end user to click an asset to see it in full detail, or even for some asset types (blogs, wiki pages, forums, ...) to be forwarded to the original context which originated the content.

Asset Publisher debuted around version 4.4 of Liferay and has been matured since then including a set of significant improvements in version 5.2 which make it a very useful tool for web publishing.

Features #

  • Support for several type of list displays:
    • Abstracts
    • Titles
    • Summary
    • Table
  • Dynamic selection based on:
    • Tags that an asset has
    • Tags that an asset doesn't have
    • Asset type
  • Manual selection of assets
  • Support for grouping the assets of the list by tag
  • Flexible selection of metadata information to be shown
  • Tag based navigation (new in 5.2)
  • Category based navigation (new in 5.3)
  • Quick creation and edition of assets
  • Support for rating of assets
  • Support for commenting the assets
  • Configurable display options
  • Pagination

Screenshots #

List of assets displayed as a list of abstracts

List of assets displayed as a table

Configuration #

From liferay5.2 these options are available in the configuration view for the assets to display:

And from the display settings:

  • Order by different columns
  • Maximun items to display
  • Pagination
  • Ratings
  • Comments
  • Metadata (author, date of publishing, tags... )
  • Asset link behaviour: This option lets you decide what happens when a user clicks on an asset. He may be shown the content right where he is or he may be taken to the page where the content was published originally.

Depending of the view you will have more options:

  • Abstracts
    • Length of the abstract
  • Full content
    • Show the title of the asset
    • Show the link to the original context

Customization #

As of Liferay 5.2.x, the list of displays (table, list, abstract and full content) is easily modified.

Any of these display styles can be modified using the Extension Environment to override the files in portal-web/docroot/html/portlet/asset_publisher/display

Also, new display styles can be added following these steps:

  1. Add the new style to this property in portal-ext.properties: asset.publisher.display.styles=table,title-list,abstracts,full-content,my-style
  2. Add a jsp file with the same name (changing hyphens for underscores) to the folder display shown above in the Extension Environment, in the example: ext-web/docroot/html/portlet/asset_publisher/display/my_style.jsp
  3. The new style will be available from the configuration view.

Limitations #

Versions previous to 6.0GA present the following limitation: If this portlet has been configured to use manual selection of assets, it won't work normally when using staging or remote publishing.

Children Pages

4 Attachments
Average (8 Votes)
The average rating is 4.125 stars out of 5.
Threaded Replies Author Date
Hello, Thank you! great job!, some... Juanjo Hernández Cánovas May 14, 2009 12:29 PM
Is there a way to add Audio/Video content to... Scott Rosene December 14, 2009 2:10 AM
Hi All, Any body included Organization in the... Faisal K March 3, 2010 1:41 AM
This portlet is pretty cool to have one single... Andreas Stangl March 26, 2010 7:44 AM
Hi there, I have a question. How do i get my... Rain Kivimagi July 5, 2010 7:56 AM
Is there a way with the most recent asset... jeff gerbracht August 31, 2010 7:57 AM
How to create an Asset Publisher Display Style... jhonn cardona July 20, 2011 4:46 PM
uyouio anh le January 31, 2012 12:11 AM
it's possible to search in an asset publisher? C. Carmignani November 27, 2013 11:05 AM


Thank you! great job!, some explanation for customization for version 5.0?
Posted on 5/14/09 12:29 PM.
Is there a way to add Audio/Video content to the "add new" list of items in the asset publisher?

Also, I can't seem to find a separate portlet that allows uploading/managing audio/video files the same way that Document Library and Image Gallery do.
Posted on 12/14/09 2:10 AM.
Hi All,
Any body included Organization in the Asset Publisher portlet as an Asset, I am building a portal where I have to show the Organizations based on different criteria Same like as Blogs and Forums, I have started doing it in 6.0.
Posted on 3/3/10 1:41 AM in reply to Scott Rosene.
This portlet is pretty cool to have one single portlet where various content items are shown, but it has one major flaw: It shows all items, even if the user does not have the permission to see some (see LPS-7034). I hope this will be fixed in v6 :-)
Posted on 3/26/10 7:44 AM.
Hi there,

I have a question. How do i get my Asset Publisher to publishing the Web Contents
of parent organization while Asset Selection is set on "Dynamic". Is this doable with
right configuration, or it needs some development?

I would be very grateful if someone could help me with that.

Posted on 7/5/10 7:56 AM.
Is there a way with the most recent asset management to set the priority of an asset?? It's one of the columns which can be sorted and there is a "priority" column in the tagsasset table but as of 5.1.2 at least, there was no way to set the priority. Has this changed??????
Posted on 8/31/10 7:57 AM.
How to create an Asset Publisher Display Style showing the contents in 3 columns???
Posted on 7/20/11 4:46 PM.
Posted on 1/31/12 12:11 AM.
it's possible to search in an asset publisher?
Posted on 11/27/13 11:05 AM.