毕业论文开发语言企业开发JAVA技术.NET技术WEB开发Linux/Unix数据库技术Windows平台移动平台嵌入式论文范文英语论文
您现在的位置: 毕业论文 >> 企业开发 >> 正文

SharePoint2013顶部导航新闻源和skydrive应该如何去掉

更新时间:2013-1-15:  来源:毕业论文

SharePoint2013顶部导航新闻源和skydrive应该如何去掉

中上面的新闻源和skydrive应该如何去掉,只要不显示这两个按钮就行,谢谢,请说的具体一些

2个方法
1,用SPD了吗?找到这行注释就可以了。
Option 1 - Remove the Control from Master Page.  Open your Master page in SharePoint 2013 Designer and look for “SuiteLinksDelegate” delegate control.
 
In master page you would look for something like below -
 
<SharePoint:DelegateControl id=”ID_SuiteLinksDelegate” ControlId=”SuiteLinksDelegate” runat=”server” />
 
Simply Remove this or Comment it out to hide the links in the blue bar.
 
Option 2 - Using JavaScript to to hide the links Control. For this example we are just adding the JavaScript required to a Source Editor on a page. You can add this to your master page or to a delegate control to add it to all the pages in the site. To hide “NewsFeed, SkyDrive, Sites…” links add the below code to Edit source on a page.
 
Steps -
 
1. Edit the page and click on Insert tab.
 
2. click on Embed Code to add the below Javascript

 

JavaScript code?12345678910111213 <script language=”javascript”>    _spBodyOnLoadFunctionNames.push(“HideBrandingsuite”);    function HideBrandingsuite()    {      document.getElementById(‘ctl00_DeltaSuiteLinks’).style.visibility = ‘hidden’;    }    </script>
 

 
 
Option 3 - You can disable them at a Web application level. Use the following Powershell script to do this.
 
Powershell
 
$wa = Get-SPWebApplication
 
# This can be an empty string
 
$wa.SuiteBarBrandingElementHtml = ” ”
 
#Save your change
 
$wa.Update()
用IE的开发人员工具(IE8以上F12显示)找到这个控件,然后在模板页中删除该控件就可以了

设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©youerw.com 优尔论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。