[opencms-dev] CmsCategoryResourceCollector: sorting
Mathias Lin
mail at mathiaslin.com
Sat May 1 07:56:29 CEST 2010
I tried to just put NavPos as the sort criteria and it seems to work.
Wondering, why is the javadoc limited to the two properties
category|date then?
Mathias
On 01.05.2010 13:49, Mathias Lin wrote:
> Referring to
> http://www.opencms.org/javadoc/core/org/opencms/file/collectors/CmsCategoryResourceCollector.html:
>
> Usage: |<cms:contentload collector="allKeyValuePairFiltered"
> param="resource=[filename]|resourceType=[resource
> type]|categoryTypes=[category1,category2,...]|subTree=[boolean]|sortBy=[category|date]|sortAsc=[boolean]">
> |
> the sort options (sortBy) are category and date.
>
> Is there any way I can sort by a different property, such as NavPos or
> Title, without modifying/extending the default content collector?
>
> Thanks,
> Mathias
>
>
>
More information about the opencms-dev
mailing list