Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Claus Thomsen 5 posts 85 karma points
    Feb 14, 2020 @ 09:44
    Claus Thomsen
    0

    Dictionary label in nested content template

    Hi everyone. We're using this template on our nested content {{$index}} - "name of nested content" - {{heading}}, i.e. {{$index}} - Teaser Card - {{heading}}:

    enter image description here

    What we want is to use a dictionary label instead of the name being hardcorded. So I've found this {{linkNode | ncNodeName}} that actually works, but when used together with other placeholders it replaces everything. So when using {{$index}} - {{linkNode | ncNodeName}} - {{heading}} it only shows the dictionary label:

    enter image description here

    So far I've tried:

    {{$index}} - ({{ linkNode | ncNodeName }}) - {{ heading }}
    {{$index}} - {{( linkNode | ncNodeName )}} - {{ heading }}
    {{$index + ' - ' + (linkNode | ncNodeName) + ' - ' + heading}}
    

    And several other combinations with the same result. It seems that when using {{ linkNode | ncNodeName }} everyting else is discarded.

    Any ideas how this can be solved?

Please Sign in or register to post replies

Write your reply to:

Draft