Re: Listing articles order

Ramon Gavira Sáenz via opencms-dev <[email protected]> Fri, 3 Jan 2025 08:16:17 +0000
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <DB9PR05MB83967015E3AAE96A96FFAF36E2152@DB9PR05MB8396.eurprd05.prod.outlook.com>
You should take a look on this and understand this first:

https://documentation.opencms.org/opencms-documentation/template-development/detail-pages/

https://documentation.opencms.org/opencms-documentation/background/lists-and-detail-pages/index.html

There are few ways to implement lists an thye order depends on witch solution you choose.

Ramón.

________________________________
De: opencms-dev <[email protected]> en nombre de Atle Enersen via opencms-dev <[email protected]>
Enviado: martes, 24 de diciembre de 2024 01:06
Para: [email protected] <[email protected]>
Cc: Atle Enersen <[email protected]>
Asunto: [opencms-dev] Listing articles order


Hello again.



My http://web.enersen.no/oc/ as you can see lists up latest articles, they are not in correct order. I want them to sort on date, not resource type the date. It is not date, but sequence of first, then second, before we jump to the next resource type.



The two on top is one resource type, the four next ones another.



I want to:



  1.  List articles by date/time.
  2.  List articles by priority, priority being a field in XML-configuration of the resource type. The priority field can be 0-100 with 0 as top. Priority can have several articles, and then the sorting secondly goes for date/time.



If someone could share with me the file(s) I should investigate I would be grateful.



Merry christmas, regards Atle.

--

Telefon: +47 48 06 31 71

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev