Wednesday 24 August 2016

How to add footer in SharePoint 2013 Master page

Summary : How to add footer Message in SharePoint 2013,add footer in SharePoint 2013 Master page

In this post, we will look at an example of how to add a footer message in SharePoint 2013 Master page using SharePoint Designer 2013. (I am adding the footer in "oslo.master" page in this example)

Lets look at the detailed steps below –
  1. Open the site in SharePoint 2013 Designer and then select “Master Pages” in the left Navigation.
  2. Select the oslo.master (Please save copy of it before editing)
  3. Now open oslo.master for editing
  4. To specify custom footer, replace the block
<SharePoint:AjaxDelta id="DeltaPlaceHolderFooter" BlockElement="true" runat="server">
   <SharePoint:DelegateControl runat="server" ControlId="PageFooter" AllowMultipleControls="false" />
</SharePoint:AjaxDelta>

with below

<SharePoint:AjaxDelta id="DeltaPlaceHolderFooter" BlockElement="true" runat="server">
  <%--SharePoint:DelegateControl runat="server" ControlId="PageFooter" AllowMultipleControls="false" /--%>
   <div id="footer" class="noindex">
       <p style="text-align:center;">Some fancy footer is displayed here.</p>
   </div>
</SharePoint:AjaxDelta>

That's it!! :)
Cheers...

No comments: