how to show this sequence with the template code?

Author Message

kevin wei

Saturday 25 December 2004 4:43:15 am

hi,all
1. i have 72 article under one folder (ID=59), i want show it as
article 1 | article 2 | ........article 9
article 10 | .... article 18
....
..... article 72

how can i control loop?

2. i want override the fold_full under one node, it is to say, all node with one parent, can i use this code:

[my_full_folder]
Source=node/view/full.tpl
MatchFile=full/folder.tpl
Subdir=templates
Match[class_identifier]=folder
Match[parent_node_id]=2

thanks!

Ɓukasz Serwatka

Saturday 25 December 2004 6:32:49 am

Hi kevin,

Read about fetch function, sections and {delimiter}
http://ez.no/ez_publish/documentation/reference/data_fetching/content/list
http://ez.no/ez_publish/documentation/reference/template_functions/program_flow/section

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

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