[opencms-dev] Including multiple elements

Sebastian Lavena slavena at mkti.com.ar
Fri Jul 22 23:10:13 CEST 2005


Hi,

    I`m trying to include multiples elements thats I donĀ“t know in compile 
time the how many I will have. So, my idea is to have many elements "body", 
and include all of them in my template...
For now, I'm using this code to include only one:

<cms:template element="body">
  <cms:include element="body" editable="true"/>
</cms:template>

I see in the help de tag <cms:template ifexist="body">...

But really I need to have "n" body, and all of them must be included....

Someone have an idea about this?

Thanks a lot,


Sebastian 




More information about the opencms-dev mailing list