[opencms-dev] looping content
Vinod Dangudubiyyapu
vinod.d at sonata-software.com
Fri Nov 12 10:15:18 CET 2010
Hi Mario,
The <cms:contentloop> is inside the <cms:contentload>
no error prompts are display on screen. when entering to edit mode i am able to add multiple images, when save and publish on the page not displaying nothing. one time i seen the path of the next image appears on page.
thanks
vinod
-----Original Message-----
From: opencms-dev-bounces at opencms.org on behalf of Mario Jäger
Sent: Fri 11/12/2010 2:27 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] looping content
Hi Vinod,
I don't know what an error you get. But, do you have the<cms:contentload> tag around the<cms:contentloop> tag?
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms"%>
<cms:contentload collector="singleFile" param="%(opencms.uri)">
<cms:contentloop element='ImageBanner'>
<cms:contentshow />
</cms:contentloop>
</cms:contentload>
--
Kind Regards,
Mario.
-------------------
Mario Jäger
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Am 26.10.2010 09:07, schrieb Vinod Dangudubiyyapu:
>
> Hi,
>
> I have provided looping content to add multiple image by this code in xsd
>
> <xsd:element name="ImageBanner" type="OpenCmsVfsFile" minOccurs="0"
> maxOccurs="3" />
>
> I am able to see when edit the page to add multiple images but not
> displaying on page.
>
> In jsp template code is
>
> <cms:contentloop element='ImageBanner' >
>
> <cms:contentshow />
>
> </cms:contentloop>
>
> Edit mode im able to see to add multiple image, when selecteing page
> view pointing error about content loop can please provide me example
> on this.
>
> Thanks and Regards
>
> Vinod D
>
>
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20101112/4ba9e89b/attachment.htm>
More information about the opencms-dev
mailing list