Fecth content complicated, how to?

Fecth content complicated, how to?

Wednesday 20 April 2005 1:37:37 am - 1 reply

Modified on Wednesday 20 April 2005 1:39:20 am by Daniele Nocentini

Author Message

Ɓukasz Serwatka

Wednesday 20 April 2005 7:06:45 am

Hi Daniele,

Replace:
CLASS_ID with your custom class
ATTR_ID with id of your date datatype attribute
DATE, you can us
http://ez.no/ez_publish/documentation/reference/template_operators/formatting/datetime
http://ez.no/ez_publish/documentation/customization/tips_tricks/date_and_time_formats

fetch( content, tree, hash( parent_node_id, RACE_NODE_ID,
                            class_filter_type,  include,
                            class_filter_array, array( CLASS_ID ),
                            sort_by, array( 'attribute', false(), 'ATTR_ID' ),
                            attribute_filter, array( array( 'ATTR_ID', '=', 'DATE' ) ) ) )

I hope it will help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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.