Forums / Developer / {$content_object.published|l10n( datetime )}

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

{$content_object.published|l10n( datetime )}

Author Message

Mike Borozdin

Thursday 08 January 2004 3:22:59 am

How do I sort by this attribute?

Björn X

Thursday 08 January 2004 5:35:06 am

{fetch('content','list_count',hash(parent_node_id,$node.node_id,
sort_by,array(published,true()),
class_filter_type,exclude,
class_filter_array,array(1,24)))}

sort_by,array(published,true()),

the boolean defines if it is asc or desc

Mike Borozdin

Saturday 10 January 2004 9:12:15 am

Thank you, Björn! I don't have to have an extra datetime attribute for sorting articles!!!!

Marco Zinn

Saturday 10 January 2004 9:58:27 am

No, you can use the "published" field.
Side-question: Does this work with "modified", too?

Marco

Marco
http://www.hyperroad-design.com