Book Image

SharePoint 2013 WCM Advanced Cookbook

By : JOHN CHAPMAN
Book Image

SharePoint 2013 WCM Advanced Cookbook

By: JOHN CHAPMAN

Overview of this book

Table of Contents (19 chapters)
SharePoint 2013 WCM Advanced Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Customizing the suite bar branding with a SuiteBarBrandingDelegate delegate control


The out-of-the-box master pages included with SharePoint 2013 provide a delegate control to place branding text in the top-left corner of the page. For standard SharePoint instances, the text SharePoint is displayed. For SharePoint on Office 365, Office 365 is displayed instead.

In this recipe, we will simply replace the control with a custom control that displays our own text. The text could also be replaced by editing the master page or by modifying the SuiteBarBrandingElementHtml property on the SharePoint web application. Using the custom control provides us the ability to add additional functionality if desired. For instance, the control could be used to add additional links, a menu, or other interactive content.

Getting ready

We should have already created our Visual Studio project in the Creating a Visual Studio solution for custom delegate controls recipe of this chapter before starting this recipe.

How...