CMS_INPUT_TABLIST mit tabAttribute
Author: msusser
Publication Date: 9/20/2010 10:19
Hallo,
ich möchte in einer CMS_INPUT_TABLIST den Text für die Tabs mittels tabAttribute festlegen. Leider komme ich mit der Dokumentation nicht weiter. In welcher Form muss das Attribut angegeben werden? Geht das auch mehrsprachig?
Danke & viele Grüße,
Michael
Tags: cms_input_tablist, tabattribute
-
Author: hoebbel - 9/20/2010 11:37
Hallo Michael,
einfach im entsprechenden LANGINFO Knoten die Expression angeben, wobei sich das #row Objekt auf den ausgewählten Datensatz bezieht, also z.B.:
<CMS_INPUT_TABLIST
name="members"
allowChoose="no"
hFill="yes"
sortOrder="ascending"
table="adresses.contacts"
useLanguages="no">
<LANGINFOS>
<LANGINFO
lang="DE"
label="Ansprechpartner"
description="Ansprechpartner mit ID"expression="#row.contactID.format("00") + " - " + #row.firstname + " " + #row.name"/>
<LANGINFO
expression="#row.contactID.format("00") + " - " + #row.firstname + " " + #row.name"/>
lang="*"
label="contacts"
description="contacts with ID"</LANGINFOS>
</CMS_INPUT_TABLIST>0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire