MOSS 2013研究系列---修改默认Logo

  开发SharePoint2013 的时候,系统里面有一个“SharePoint” 的logo,客户不多不满意,咱们的系统不能出现产品的名称,以下图:web

             

 

 

 

 

 

咋么修改呢,咨询了广大网友,给出了一个解决方案:app

  1. launch SharePoint 2013 Management Shell in Admin mode
  2. type the following: $app = Get-SPWebApplication -Identity http://yourwebsite.com
  3. hit enter and next type this: $app.SuiteBarBrandingElementHtml = "<div class='ms-core-brandingText'>YOUR branded name HERE</div>"
  4. hit enter and next type this: $app.Update()

既然可以经过PowerShell命令行修改,估计是一个控件或者DelegateControl ,根据这个方向,去SharePoint的文件夹,果真很容易的就找到了这个地方,里面有一个DelegateControl控件<SharePoint:DelegateControl id="ID_SuiteBarBrandingDelegate" ControlId="SuiteBarBrandingDelegate" runat="server" />,直接进行外科手术,删除该控件,手工写入本身的<div class="ms-core-brandingText">XXXXX系统</div>,或者直接用图片替换,呵呵。ui

   修改的效果就不显示了,能够本身为所欲为了。this

相关文章
相关标签/搜索