Hallo,
ich habe in dem folgen Formular (das alte Element ist noch zu sehen), CMS_INPUT_CONTENTLIST auf FS_LIST umgestellt:
<CMS_MODULE>
<CMS_INPUT_TEXT name="cs_name" hFill="yes" maxInputLength="50" singleLine="yes" useLanguages="yes">
<LANGINFOS>
<LANGINFO lang="*" label="Gallery-Name" description="Insert the Gallery-Name"/>
<LANGINFO lang="DE" label="Name der Galerie" description="Tragen Sie den Namen der Galerie ein"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_COMMENT>
<CMS_INPUT_CONTENTLIST
name="cs_picturelist"
allowEdit="yes"
hFill="yes"
indexAttribute="Order_index"
maxEntries="50"
rows="20"
table="Gallery.gallery_media"
useLanguages="no">
<LANGINFOS>
<LANGINFO lang="*" label="Pictures"/>
<LANGINFO lang="DE" label="Bilder"/>
</LANGINFOS>
<MEDIAMODE allowFolders="no" mediaEditor="cs_picture"/>
</CMS_INPUT_CONTENTLIST>
</CMS_COMMENT>
<FS_LIST name="cs_picturelist" hFill="yes" height="300" rows="20">
<DATASOURCE type="database" maxEntries="50" useLanguages="no">
<LABELS>
<LABEL lang="*">#item.cs_name</LABEL>
</LABELS>
<ACTIONS>
<ACTION name="ADD"/>
<ACTION name="REMOVE"/>
<ACTION name="UP"/>
<ACTION name="DOWN"/>
<ACTION name="GOTO"/>
<ACTION name="VIEW"/>
<ACTION name="EDIT"/>
</ACTIONS>
<COLUMNS>
<COLUMN show="no">#identifier</COLUMN>
</COLUMNS>
<LAYOUT>
<ADD component="overview" constraint="center"/>
<ADD component="toolbar" constraint="top"/>
<ADD component="stackedview" constraint="hide"/>
</LAYOUT>
<TABLE>Gallery.gallery_media</TABLE>
</DATASOURCE>
<LANGINFOS>
<LANGINFO lang="*" label="Pictures"/>
<LANGINFO lang="DE" label="Bilder"/>
</LANGINFOS>
</FS_LIST>
</CMS_MODULE>
Wenn ich jetzt in die zugehörige Datenquelle gehe und ein Element in der Liste hinzufügen will, bekomme ich zwar das Auswhalfenster angezeigt, aber fast immer ohne Inhalt. Bei vielen Versuchen war die Auswahl ein oder zwei mal gefüllt und ich konnte ein Bild auswählen.
Die Bilder kommen auch aus einer Datenquelle mit dem folgenden Formular:
<CMS_MODULE>
<CMS_COMMENT>
<CMS_INPUT_PICTURE
name="cs_picture"
allowEmpty="no"
hFill="yes"
imagePreview="yes"
lean="mandatory"
upload="yes"
useLanguages="no">
<LANGINFOS>
<LANGINFO lang="*" label="Picture" description="Insert your picture"/>
<LANGINFO lang="DE" label="Bildauswahl" description="Wählen Sie hier ihr Bild aus"/>
</LANGINFOS>
</CMS_INPUT_PICTURE>
</CMS_COMMENT>
<FS_REFERENCE name="cs_picture" hFill="yes" imagePreview="yes" upload="yes" useLanguages="no">
<FILTER>
<HIDE type="file"/>
<ALLOW type="picture"/>
<HIDE type="mediafolder"/>
</FILTER>
<LANGINFOS>
<LANGINFO lang="*" label="Picture" description="Insert your picture"/>
<LANGINFO lang="DE" label="Bildauswahl" description="Wählen Sie hier ihr Bild aus"/>
</LANGINFOS>
<PROJECTS>
<LOCAL name=".">
<SOURCES>
<FOLDER name="root" store="mediastore"/>
</SOURCES>
</LOCAL>
</PROJECTS>
</FS_REFERENCE>
<CMS_INPUT_TEXT name="cs_name" hFill="yes" maxInputLength="50" singleLine="no" useLanguages="yes">
<LANGINFOS>
<LANGINFO lang="*" label="Picture-Name" description="Insert the Picture-Name"/>
<LANGINFO lang="DE" label="Name des Bildes" description="Tragen Sie den Namen des Bildes ein"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXTAREA name="cs_description" allowEmpty="yes" hFill="yes" maxInputLength="1024" useLanguages="yes">
<LANGINFOS>
<LANGINFO lang="*" label="Description" description="Add a Description"/>
<LANGINFO lang="DE" label="Bildbeschreibung" description="Fügen Sie eine Beschreibung des Bildes hinzu"/>
</LANGINFOS>
</CMS_INPUT_TEXTAREA>
</CMS_MODULE>
Was fehlt hier noch?
Viele Grüße,
Tonja