Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 939 posts 2574 karma points
    Jun 30, 2021 @ 13:27
    Claushingebjerg
    0

    Using Settings model value as label on a block list block

    Is it possible to use a vaule from the "Settings model" of a block as a label for the block?

    I have this "kolonne" block type:

    enter image description here

    And i want to use the value from "bredde" from "Kolonne settings"

    enter image description here

    Is this possible? if so, how?

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Jul 01, 2021 @ 13:32
    Frans de Jong
    1

    I don't think this is possible. The block is configured with the content model and the settings block is added later this makes me think the content model is the main model for the backoffice.

  • Claushingebjerg 939 posts 2574 karma points
    Jul 01, 2021 @ 13:33
    Claushingebjerg
    0

    Bummer

  • Ambert van Unen 175 posts 819 karma points c-trib
    Feb 24, 2022 @ 10:43
    Ambert van Unen
    102

    Just happen to stumble on this while searching for something similar, but it is indeed possible as show in : https://our.umbraco.com/forum/using-umbraco-and-getting-started/104722-block-list-editor-accessing-block-settings-model-from-label-field

    Syntax is: $settings.propertyAlias

    Replied for future searchers :-)

  • Claushingebjerg 939 posts 2574 karma points
    Feb 24, 2022 @ 10:53
    Claushingebjerg
    0

    Awesome!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies