Sorting Structures by Name

This article outlines how to display created web content structures alphabetically.

Resolution

Steps

  1. Open the portal-ext.properties file.
  2. Set journal.browse.by.structures.sorted.by.name to true
  3. Go to Site Administration > Content > Web Content and click the Add pull-down menu.

Prior to Liferay Portal 6.2 fix pack portal-107, structures were displayed and sorted by primary key numbers. A new property was added, journal.browse.by.structures.sorted.by.name

It's behavior responds to the following logic:

If the property is not set or false; structure will be displayed sorted by primary key.

failed_01.png

If the property is set to true; structures will be displayed sorted alphabetically by name.

fixed_02.png

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助