Display Company Logo on Dynamics EP Site and Hide Page Title


In this example, I want to share the things like
1)      Display the Company logo, on the EP site.
2)      Hide the Page title, the one which is there, to the side of the Company logo. 
To do the above things, go to the following path in the sharepoint server..
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\DynamicsAxEnterprisePortal
Select the filefor Editing in the Visual Studio…
In that file locate the Tag with the Id “GlobalTitleAreaImage”, and add the following Bluemarked attributes to that Tag, as shown in below.
 LogoImageUrl is for displaying the image/company logo on the EP page.
  style=”display:none” for hiding the page title. 
 <td id=”GlobalTitleAreaImage”>
 <SharePoint:SiteLogoImage id=”onetidHeadbnnr0″
   LogoImageUrl=”_layouts/ep/images/Dynamics_Logo.bmp” runat=”server”/></td>
   <td width=100% style=”display:none”>
       <asp:ContentPlaceHolder id=”PlaceHolderSiteName” runat=”server”>
           <h1>
              <SharePoint:SPLinkButton runat=”server” NavigateUrl=”~site/” id=”onetidProjectPropertyTitle” >
              <SharePoint:ProjectProperty Property=”Title” runat=”server” />
              </SharePoint:SPLinkButton>
           </h1>
       </asp:ContentPlaceHolder>
    </td>
Save the file and do the IISReset. Now refresh the same page and see the result as follows…

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.