[opencms-dev] Including multiple elements

Alexander Wallace aw at avatartechnology.com
Fri Jul 22 23:33:56 CEST 2005


what will determine the amount of elements? This sounds like xmlcontent, have 
you researched that? There are examples in the templateone demo distributed 
with ocms...

On Friday 22 July 2005 04:10 pm, Sebastian Lavena wrote:
> 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 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 



More information about the opencms-dev mailing list