Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > changing the icon in the site tree View modes: 
User avatar
Member
Member
hi1ton - 8/17/2010 7:33:56 AM
   
changing the icon in the site tree
Hi

I would like to know if it is possible to change the icon for a specific document node dynamically

I have a folder of 100 documents and would like to know which are one type and which are another. For example I would like to be able to select from a dropdown: active or inactive (in the document type form) and see straight away in the site tree which documents are active or inactive by the node image

Thanks,


User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/17/2010 8:38:12 AM
   
RE:changing the icon in the site tree
Hi,

you can change the document type icon image files as described at the very bottom of this document.


But if you want to have different icons for different nodes, this will require customization of the content tree code file (\CMSModules\Content\CMSDesk\Tree.aspx.cs) where you will check the drop down list value for given node and add some flag to it as you need to.

Best regards,
Juraj Ondrus