Copied to clipboard

Flag this post as spam?

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


  • Roger G 1 post 20 karma points
    Oct 08, 2024 @ 10:58
    Roger G
    0

    Umbraco 14 - label variable for block list editor

    In pre v14 block list labels could be written like this:

    Name {{$settings.alias}}
    

    In v14 I see in the documentation that it should be written like this:

    Name {= varName }
    

    So how to get the settings variables? These don't work:

    Name {= $settings.alias }
    Name {= settings.alias }
    Name {= alias }
    
  • Huw Reddick 1929 posts 6717 karma points MVP 2x c-trib
    Oct 09, 2024 @ 13:02
    Huw Reddick
    0

    Currently, Umbraco 14.1 only supports rendering a block's content properties. Special variables like $index, $contentTypeName, $settings, and so on will be expanded in upcoming releases.

Please Sign in or register to post replies

Write your reply to:

Draft