- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CMS_INPUT_DOM in 2 Sprachen gleichseitig auswerten
Hallo community,
ich brauche den Inhalt eines CMS_INPUT_DOM-Element in 2 Sprachen gleichseitig in eine Seitenvorlage darstellen, Die Daten kommen aus einer contentprojection.
ich habe volgendendes versucht, wird aber immer nur in die aktuell Sprache dargestellet, die andere Sprache bleibt aber leer.
#global.pageParams.data[0].content_DE
#global.pageParams.data[0].content_EN
#global.pageParams.data[0].get("content_DE")
#global.pageParams.data[0].get("content_EN")
Danke in Voraus.
- Labels:
-
Developers
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Danke Herr Marx,
รคndern #global.language ist aus meinen Sicht irrefรผhrend.
Hier ist andere mรถglochkeit,
$CMS_FOR(lang, #global.project.languages)$
$CMS_VALUE(#global.pageParams.data[0].getValue("content_" + lang.abbreviation.upperCase).getAccessEditor(#global.project.getUserService(),false).get(lang))$
$CMS_END_FOR$
Grรผรe.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hallo Herr Lindenberg,
um die Daten z.B. in allen Projektsprachen auszugeben, kรถnnen sie so vorgehen:
$CMS_SET(set_backuplanguage, #global.language)$
$CMS_FOR(lang, #global.project.languages)$
$CMS_SET(#global.language, lang)$
$CMS_VALUE(#global.pageParams.data.get(0).content)$
$CMS_END_FOR$
$CMS_SET(#global.language, set_backuplanguage)$
Viele Grรผรe
Thorsten Marx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Danke Herr Marx,
รคndern #global.language ist aus meinen Sicht irrefรผhrend.
Hier ist andere mรถglochkeit,
$CMS_FOR(lang, #global.project.languages)$
$CMS_VALUE(#global.pageParams.data[0].getValue("content_" + lang.abbreviation.upperCase).getAccessEditor(#global.project.getUserService(),false).get(lang))$
$CMS_END_FOR$
Grรผรe.

