COMBOBOX mit DB-Tabellen Inhalt befühlen.
Author: markus_maurer
Publication Date: 1/30/2013 9:05
Ich habe folgendes Konstrukt, wehles ich für FS5 nicht mehr verwenden kann, da CMS_INCLUDE_CONTENT nicht mehr unterstützt wird.
<CMS_INPUT_COMBOBOX name="st_application" useLanguages="no">
<CMS_INCLUDE_CONTENT type="entries" table="FS_DATA.tabellenname">
<LABEL lang="*">#row.name</LABEL>
</CMS_INCLUDE_CONTENT>
<LANGINFOS>
<LANGINFO lang="*" label="Application" description="Application name"/>
<LANGINFO lang="DE" label="Applikation" description="Name der Applikation"/>
</LANGINFOS>
</CMS_INPUT_COMBOBOX>
Welche Möglichkeit habe ich eine COMBOBOX mit einem Tabellen Inhalt zubefühlen?
Tags: database, formedit, fs5, template
-
Author: Hewera-Harz - 1/30/2013 13:03
Hallo,
ich benutze folgende Umsetzung:
<CMS_INPUT_COMBOBOX name="pt_scProd" useLanguages="no">
<CMS_INCLUDE_OPTIONS type="database">
<LABELS>
<LABEL lang="*">#item.Prod</LABEL>
</LABELS>
<TABLE>b.scprodcat</TABLE>
</CMS_INCLUDE_OPTIONS>
<LANGINFOS>
<LANGINFO lang="*" label="Produkt für SC" description="wichtig für SC"/>
</LANGINFOS>
</CMS_INPUT_COMBOBOX>
also statt include_content >> include_options
So weit ich die Docu verstanden habe, ersetzt include_options den alten Ausdruck ab Version 5.0
Gruß
Petra Hewera-Harz
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire