This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

eZ Community » Forums » Developer » section-include and section-exclude??

section-include and section-exclude??

section-include and section-exclude??

Tuesday 01 April 2003 6:49:20 pm - 2 replies

Hey all

I'm modifying "/node/view/full.tpl" to make my own view mode. It grabs all the children with this let command

{let children=fetch('content','list',hash(parent_node_id,$node.node_id,sort_by,$node.sort_array,limit,$page_limit,offset,$view_parameters.offset))}

And then loops through the $children displaying them. however, I'd like a different template piece used for the first five than for the rest. I've tried using section-include and and section-exlude to no avail.

I can provide more detail if you need it, but what I'm trying to do here is list the first five articles in a summary-like view, and then insert a heading "Other Articles in this section" and below that, a line-item style listing of the remaning articles. Much like you would see at or

Modified on Tuesday 01 April 2003 6:49:48 pm by Peter Bailey

Wednesday 02 April 2003 11:04:01 am

Have a look at

A similiar case is explained there (summary: use the "max" and "offset" parameter of "section"blunk.gif Emoticon.

Wednesday 02 April 2003 4:18:39 pm



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

36 542 Users on board!

Forums menu

Proudly Developed with from