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.
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!
Hello,
I know something like this was possible in Umbraco 6. For example with this package: http://our.umbraco.org/projects/backoffice-extensions/auto-icons - http://24days.in/umbraco/2012/autoicons-conventions-in-umbraco/. I don't know if it's currently possible in Umbraco 7.
Jeroen
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
is working on a reply...