
236
❘
CHAPTER 8 MASTER PAGES
</div>
<div class=”s4-notdlg”>
<asp:ContentPlaceHolder id=”PlaceHolderPageTitleInTitleArea” runat=”server” />
</div>
<asp:ContentPlaceHolder id=”PlaceHolderPageDescription” runat=”server” />
<div>
<asp:ContentPlaceHolder id=”PlaceHolderMain” runat=”server”/>
</div>
</div>
<div class=”customClear”></div>
</div>
17. Along with adding all the standard body content, the previous step added the social I Like
It and Tags and Notes controls, which are not needed in the Randy’s Waffl es branding.
Remove the following code from the
s4-ca <div>:
<div class=”s4-notdlg”>
<SharePoint:DelegateControl ControlId=”GlobalSiteLink3-mini”
Scope=”Farm” runat=”server”/>
</div>
18. Because both the customFooter <div> and the customBottom <div> should not show in the
dialogs in SharePoint 2010, add the
s4-notdlg CSS class:
<div class=”customFooter customPagePadding s4-notdlg”>
...
<div class=”customBottom s4-notdlg”></div>
19. Move the developer dashboard code up from the Starter master page code to right after the
customBottom closing </div>:
<div class=”customBottom s4-notdlg”></div>
<div id=”DeveloperDashboard” class=”ms-developerdashboard”>
<SharePoint:DeveloperDashboard runat=”server”/>
</div>
</div>
20. Remove any of the remaining Starter master page code that is located after the
developer dashboard closing
</div> but before the three closing </div>s and the ...