Our documentation has been relocated here, the Liferay Developer Network. Please update your bookmarks!

Any type of content in Liferay is considered an asset. In chapters 2 and 3, we examined Liferay’s most common type of asset: web content. Other types of assets include blog posts, wiki articles, message board posts, bookmarks, and documents. It’s possible for developers to define custom asset types that utilize Liferay’s asset framework. Originally, the asset framework was created to provide a mechanism for adding tags to blog entries, wiki articles, and web content without reimplementing the same functionality multiple times. The asset framework has been greatly extended since then and it now supports tags, categories, vocabularies, comments, ratings, and asset relationships.

This chapter covers the following topics:

  • Tagging and categorizing content
  • Using targeted, single value, and multi-value vocabularies
  • Using faceted search
  • Using the Asset Publisher
  • Setting up display pages
  • Adding relationships between assets

The Asset Publisher portlet is designed to display multiple assets. It has quite a few configuration options which we’ll cover in this chapter. By default, abstracts (previews) of recently published assets are displayed by the Asset Publisher portlet and links to their full views are provided. You can configure the Asset Publisher portlet to display a table of assets, a list of asset titles, or the full content of assets. You can also configure the Asset Publisher to display only certain kinds of assets and you choose how many items to display in a list. The Asset Publisher portlet is very useful for displaying chosen types of content, for displaying recent content, and for allowing users to browse content by tags and categories. The Asset Publisher is designed to integrate with the Tags Navigation and Categories Navigation portlets to allow this.

Tagging and Categorizing Content

Tags and categories are two important tools you can use to help organize information on your portal. These tools help users to easily find the content they’re looking for through search or...

Read More

Searching for Content in Liferay

To stay organized, I (RS) used to use a paper-based planner. It had different sections for various areas of my life. Its initial incarnation came from a commercial company, but over the years I...

Read More

Using the Asset Publisher

As we create web content, it’s important to keep in mind that to Liferay, the pieces of content are assets, just like message board entries and blog posts. This allows you to publish different...

Read More

Defining Content Relationships

Related Assets was a feature introduced in Liferay 6.1 that enables you to connect an asset to other assets within the same site or to global assets, even if they don’t share any tags and aren’t in...

Read More

Summary

In this chapter, we explored Liferay’s asset framework. Any type of content in Liferay is considered an asset and can utilize the features provided by the asset framework: tags, categories,...

Read More
0 (0 Votes)
Summary Previous