{$content_object.published|l10n( datetime )}

{$content_object.published|l10n( datetime )}

Thursday 08 January 2004 3:22:59 am - 3 replies

Author Message

Björn Dieding@xrow.de

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

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

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

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.