Copied to clipboard

Flag this post as spam?

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


  • Kåre Mai 45 posts 283 karma points
    Nov 14, 2024 @ 10:24
    Kåre Mai
    0

    Displaying link title in block list

    Hi,

    I can't get a block list to show the title of a multi url link. I've done this countless times before but there must be something simple i'm overlooking this time!

    I've created a block named Submenu. This block contains a Multi url picker configured for single url. This url picker is named submenuItemLink.

    Then in another block i've added a block list and added the Submenu block to this block list. Here i set the label to render as:

    {{ submenuItemLink[0].name }}

    But the title of the link doesn't show up and just returns blank!

    What on earth am i overlooking?

    Submenu item Menu item blocklist Blank rendering

  • Kåre Mai 45 posts 283 karma points
    Nov 14, 2024 @ 10:29
    Kåre Mai
    0

    I just discovered that it returns blank if i do not write anything in link title. It only renders the link title if i manually writes something!

    This is not expected behavior. If i do not write anything, it should pull the name of the linked document, just as it does when rendering the title in code. it also display the name of the linked document in gray in the link title box if you do not write anything,

    So my question now is: How do i make it render the link title properly in the block label option?!?

  • Afreed 54 posts 261 karma points
    Nov 14, 2024 @ 12:26
    Afreed
    1

    If i do not write anything, it should pull the name of the linked document, just as it does when rendering the title in code. it also display the name of the linked document in gray in the link title box if you do not write anything,

    This was not the behaviour in v13.4.0. but this is same for me as well in the latest.

  • jerin-ose 9 posts 29 karma points
    Nov 15, 2024 @ 09:11
    jerin-ose
    0

    I have the same issue on Umbraco version 13.4.1 and 13.5.1

  • Kåre Mai 45 posts 283 karma points
    Nov 15, 2024 @ 09:23
    Kåre Mai
    0

    Yes, but this is as the other one stated, unexpected behavior and not how it was before. And breaks the system. We rarely write anything in this field as it should always pull the title from the linked page.

  • Afreed 54 posts 261 karma points
    Nov 15, 2024 @ 11:05
    Afreed
    1

    Looks like the recent updates to the LinkPickerController skip setting $scope.model.target.name for documents and media, probably to avoid auto-filling the title with the picked item's name. It gives more flexibility but means titles need to be entered manually now.

    I am still not sure which direction they are going with this, manual flexibility or the default one. v14 doesn't seem to have the same autofill aswell.

  • jerin-ose 9 posts 29 karma points
    Nov 21, 2024 @ 10:14
    jerin-ose
    0

    I have checked with version 13.5.2, and it is now working.

Please Sign in or register to post replies

Write your reply to:

Draft