Category Archives: Master Page

Sometimes, when you don’t want to use Powershell, you can set your branding from a Feature, it’s the old procedure but very “elastic”. In the bellow sample, I’ll give you the option to change you master page to Front Office and Back Office, you can also define your CSS File. I’m processing all Sub Webs also, just change what you want. This is a Feature SCOPE Site

SharePoint 2013, like 2010 have Trimmed Controls in order to define display rules for Authentications Roles. In SharePoint 2013 we have the Suite Bar, you must hide it also as Trimmed like this Find the <body in Master Page and add the <style>   Add the Trimmed Control for before <div id=”s4-titlerow” for permissions PermissionsString=”AddAndCustomizePages”  

In SharePoint, the object “PlaceHolderPageTitle” is responsible to render the Title. So if you have a property to bind the text, you should be able to render like this: Property to include object titles In the Master Page   The Span that Renders the Place Holder is:     Using jQuery, you can change what ever you want, in this case the object Title. I suggest to use ExecuteOrDelayUntilScriptLoaded because in this case you are sure that the DOM is loaded, preventing conflicts between jQuery functions Change Title   Change if specific number of characters reached     Good Luck 😉

When working with custom branding in SharePoint 2013, sometimes it’s easy to make a mistake. For instance, you area changing a BackOffice Master Page and when you add a page, after you fill the Title the error appears the security validation for this page is invalid The common problem is you deleted the next Place Holder   Just add it back and it should be fine