Zum Hauptinhalt gehen

How to retrieve data from section template to link template?

Kommentare

1 Kommentar

  • Zendesk API User
    Author: felix_reinhold - 4/24/2019 14:05

    Hello Rinku,

    You can always set a variable bevor rendering the link and use it in the link template.

    For example:

    Sectiontemplate:

    $CMS_SET(sv_poptext, st_poptext)$

    $CMS_VALUE(your_link)$

    $CMS_SET(sv_poptext, null)$

    Linktemplate:

    $CMS_IF(isSet(sv_poptext) && sv_poptext!=null)$

        $CMS_VALUE(sv_poptext)$

    $CMS_END_IF$

    But you should consider to change the FS_LIST to useLanguages="yes". It's the recommended setting for FS_LIST (INLINE) with linktemplates.

    Best regards

    Felix

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.