Sort by category and by subpage fields

View: New views
1 Messages — Rating Filter:   Alert me  

Sort by category and by subpage fields

by Benoit Pironet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a container:

<content:declareContainerList name="newsContainer" title="News Container">

<content:declareContainer>

<content:declareField name="newsLink" title="News" type="Page" value="<[News detailed] pageonly, move>"></content:declareField>

</content:declareContainer>

</content:declareContainerList>


and I'd like to sort the item by two special fields:

first; the newsLink page Category (or if not possible by the newsContainer category)
second; the newsDate (type date) that is in the first container of newsDetailedIntroContainerList of the newsLink page. Here is the jstl address of the newsDate element:

newsLink.containerLists['newsDetailedIntroContainer'].containers[0].fields['newsDate'].value



Thank you in advance,



Benoit Pironet
_______________________________________________
template_list mailing list
template_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
LightInTheBox - Buy quality products at wholesale price