Copied to clipboard

Flag this post as spam?

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


  • Mikkel Olsen 1 post 71 karma points
    Feb 14, 2025 @ 12:37
    Mikkel Olsen
    0

    Umbraco 13 - How to customize back-office content tree nodes

    I simply want to add a text "Hidden" to any content nodes that have a specific parameter with a specific value, like shown in this image: enter image description here

    In my case I want the text to show if the content item has parameter "visIMenu" with value: false.

    I have not been able to find a solution on how to do this in the docs. I hope someone out there can help me.

  • Owain Jones 65 posts 437 karma points MVP 4x c-trib
    Feb 23, 2025 @ 16:10
    Owain Jones
    0

    Hi Mikkel,

    I don't know how to customise an existing tree, but maybe you could look into creating your own tree implementation and replacing the default content tree with it?

    https://docs.umbraco.com/umbraco-cms/13.latest/extending/section-trees/trees

    https://our.umbraco.com/forum/using-umbraco-and-getting-started/108397-remove-an-already-added-custom-tree#comment-336688

    Although, afaik, tree items only support having an icon and a title out of the box.

    I also found this Umbraco 7 package that adds icons based on property values: https://our.umbraco.com/packages/backoffice-extensions/stately/

    It hasn't been updated in years, but maybe some of the code might still be relevant to v13's backoffice.

  • 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