This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » filter



Tuesday 04 May 2004 12:24:32 pm - 1 reply

I sort the last published news by date using this code:

{let news_list=fetch( content, tree, hash( parent_node_id, 2,
				       limit, 1,
				       attribute_filter, array('or', array( 'article/primo_piano', '=', true()), array( 'article/prodotti', '=', true() ) ),
				       sort_by, array( published, false() ) ) )}

Now, I would like to sort the second and the third news published in another part of this page. So, I think that the wright way is using the same code excluding the last published news, but I don't know the way to filter this.

Any help is welcome!


Tuesday 04 May 2004 2:15:48 pm

Maybe you could try offset,1 in your fetch. I think it will start at item no.2.

Regards Bjørn


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

36 542 Users on board!

Forums menu

Proudly Developed with from