Forums / Setup & design / how to show this sequence with the template code?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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