zoukankan      html  css  js  c++  java
  • MOSS 2013研究系列---修改默认Logo

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

                 

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

    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>,或者直接用图片替换,呵呵。

       修改的效果就不显示了,可以自己随心所欲了。

  • 相关阅读:
    Blocks to Cubes
    poj1113凸包
    AtCoder Regular Contest 078D
    Codeforces Round #400
    hdu2196树形dp
    Codeforces Round #409
    Codeforces Round #424
    hdu1520树形dp第一题
    Codeforces Round #412
    poj2823单调队列
  • 原文地址:https://www.cnblogs.com/luking/p/3837289.html
Copyright © 2011-2022 走看看