curios-one wrote:
Hi,
can somebody help me understanding how to sort items in sections,
portlets, etc.
I noticed that some portlets have dropdown boxes to set the sort
order, but I can't understand how to sort items in the navigation
portlet called folder contents in the content_well slot.
Is it also possible to have different sorting on different sections?
for example one section where items are sorted by titles and another
one where are sorted by the last publishing date.
Thanks in advance.
C.
we have implemented something like this on our site, but it requires
that you add a 'sort items' field on sections. Then the folder contents
portlet almost already supports the sorting of items (see
getFolderItems.py) , so you'll have to customize the page template
associated with it (i.e. create a custom portlet) to make it read the
information from the current section.
I can send you the code if you want.
/JM
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users