Copied to clipboard

Flag this post as spam?

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


  • Alessandro Calzavara 32 posts 144 karma points c-trib
    Sep 22, 2014 @ 13:21
    Alessandro Calzavara
    0

    Change document type icon in Content Tree by Node Property

    Hello, what I'm trying to accomplish is  to have different document type icons (for the same document type) by checking on the tree creation if a property of the node is set to a particular value to set a different icon at runtime.

    I cannot seem to find the correct handler to attach my event to.

    I tried to derive my class from application base but it doesn't seem to work on the content section.
    I also tried with TreeControllerBase.TreeNodesRendering but i cannot change the icon of the nodes because they are read only.

    Can someone help me? Thanks!

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Sep 22, 2014 @ 17:48
    Jeroen Breuer
    0

    Hello,

    I know something like this was possible in Umbraco 6. For example with this package: http://our.umbraco.org/projects/backoffice-extensions/auto-iconshttp://24days.in/umbraco/2012/autoicons-conventions-in-umbraco/. I don't know if it's currently possible in Umbraco 7.

    Jeroen

  • Alessandro Calzavara 32 posts 144 karma points c-trib
    Sep 23, 2014 @ 08:07
    Alessandro Calzavara
    0

    Thanks, I tried to look at the source code but in v7 I cannot seem to hook to the right event. I'm a bit stuck

Please Sign in or register to post replies

Write your reply to:

Draft