How to add an icon to editContent, without having to overwrite the file?
Is it possible to add an icon to the icon tray that's page-specific? (I'd like to add a 'Link to Document' for all content items)
I've had a brief look at the code behind editContent.aspx, and can see the icons being loaded there - Is there something I can hook into outside of that page to add an action?
You mean like on the menu of a node when you right click on it? Yes you can do that by using the event system. I wrote a blogpost for version 4.0.x. 4.5 changed a few things. I wrote another blogpost wha't changed for version 4.5.
How to add an icon to editContent, without having to overwrite the file?
Is it possible to add an icon to the icon tray that's page-specific? (I'd like to add a 'Link to Document' for all content items)
I've had a brief look at the code behind editContent.aspx, and can see the icons being loaded there - Is there something I can hook into outside of that page to add an action?
You mean like on the menu of a node when you right click on it? Yes you can do that by using the event system. I wrote a blogpost for version 4.0.x. 4.5 changed a few things. I wrote another blogpost wha't changed for version 4.5.
Hope this is what you mean.
Cheers,
Richard
Sounds like you mean adding an icon to the toolbar. Yes this is possible. Just hookup to the events..
I think it's an inherited page load event.
Yip, that's the one Daniel. I'm looking to add 'Link to document' next to 'Preview' (And save / publish) - sorry for not being more specific.
I'll have a look at something like this in the morning - http://our.umbraco.org/wiki/how-tos/adding-a-new-button-to-the-media-menu
is working on a reply...