[opencms-dev] SOLVED: OpenCms 8.5.1: configuration ImageGalleryWidget not working?

Schliemann, Kai K.Schliemann at comundus.com
Mon Feb 25 10:10:27 CET 2013


Hi list,
solved it by myself.
The xsd element has to be OpenCmsVfsFile instead of OpenCmsVfsImage:

<xsd:element name="OverviewImage" type="OpenCmsVfsFile" minOccurs="0" />
...
The corresponding configuration then:
<layout element="OverviewImage" widget="ImageGalleryWidget" configuration="{type: 'gallery', startup: '/shared/'}"/>

Best regards
Kai

Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Schliemann, Kai
Gesendet: Freitag, 22. Februar 2013 18:20
An: 'The OpenCms mailing list (opencms-dev at opencms.org)'
Betreff: [opencms-dev] OpenCms 8.5.1: configuration ImageGalleryWidget not working?

Hi list,
I am having problems to configure a startup type and folder for ImageGalleryWidget.

My xsd element is as follows:
<xsd:element name="OverviewImage" type="OpenCmsVfsImage" minOccurs="0" />

In the layouts section I tried several things:

<layout element="OverviewImage" widget="ImageGalleryWidget" />
<layout element="OverviewImage" widget="ImageGalleryWidget" configuration="type=gallery" />
<layout element="OverviewImage" widget="ImageGalleryWidget" configuration="{type='gallery'}" />
<layout element="OverviewImage" widget="ImageGalleryWidget" configuration="{type: 'gallery', startup: '/shared/de/'}" />

In all cases the startup type of the Widget is "Folders" not "Galleries".

Any help greatly appreciated.

Best regards and a nice weekend

Kai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130225/2d4e098d/attachment.htm>


More information about the opencms-dev mailing list