Zugriff auf FS_LIST aus Navigationsobjekt
Author: ascheuch
Publication Date: 8/14/2014 15:22
Hallo Community,
folgendes Problem: ich will aus einem Navigationsobjekt auf Inhalte einer FS_LIST (name=pt_products, Datasource-Type=database), die im Seitentemplate verwendet wird, zugreifen und in ein XML ausgeben.
Soweit bin ich:
$CMS_SET(set_products, #nav.ref.page.getFormData().get(#global.language, "pt_products"))$
$CMS_FOR(_prod, set_products)$
<product label="$CMS_VALUE(_prod.cs_productname)$">
$CMS_END_FOR$
Klappt leider noch nicht, wie es soll.
Was fehlt?
Danke und liebe Grüße
Arnold
Tags: database, navigation, template
-
Author: ascheuch - 8/20/2014 9:32
Problem gelöst, hat nur eine Kleinigkeit gefehlt:
$CMS_SET(set_products, #nav.ref.page.getFormData().get(#global.language, "pt_products").get())$
Gruß Arnold
0
Please sign in to leave a comment.
Comments
1 comment