This is another post about customising the Sitecore user interface. On a recent project, I needed to display the company's logo in the Sitecore ribbon, with a link to their website. I've talked previously in, How To Add A Custom Sitecore Button To The Editor Ribbon about some of the possibilities to add bespoke code and buttons into the Sitecore ribbon. In this article, I'm going to go one step further and inject custom HTML into Sitecore.
public class CustomLogo : RibbonPanel
public override void Render(HtmlTextWriter output,
var htmlOutput = string.Empty;
htmlOutput += "<div><a href='http://www.jondjones.com/'><img src='http://jondjones.com/wp-content/uploads/2013/04/logo.png' height='35'></a> </div>";
Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge