您的位置:首页 > 其它

SharePoint 2013 - Breadcrumb

2014-09-22 10:32 176 查看
By default SharePoint 2013 doesn’t have a breadcrumb (like the 2010 version used to have). This was a very helpful feature to navigate back in your site and some users really miss it.

The good news is Microsoft didn’t remove it from SharePoint 2013, it’s just hidden in the Seattle master page.

To get it back working, you can follow these steps:

Open your site with SharePoint designer

Navigate to All Files -> _catalogs -> master page

Edit the Seattle.master in advanced mode and copy all the code

By default it’s not possible to edit the original master. To create a new one click on File -> Blank Mater Page

Check out the new master, edit it in advanced mode, delete all the existent code and paste the one from the original Seattle

Search for <div class="ms-breadcrumb-dropdownBox" style="display:none;">

Delete the CSS attribute style="display:none;"

Two lines bellow, change the visible attribute of the SharePoint:PopoutMenu to true
After editing your code it should look like this

<script type="text/javascript">
document.getElementById("GlobalBreadCrumbNavPopout-anchor").innerHTML='<img style="border-width:0;position:absolute;left:-215px !important;top:-120px !important;" alt="Navigate Up" src="/_layouts/15/images/spcommon.png?rev=27">';
</script>


View Code

Save the modified master page, check it in and publish the major version

Open your SharePoint Site, go to Settings -> Site Settings -> MasterPage under Look and Feel and select the new master page for the Site master and System master options. and You will see a new icon on the left side of the menu.

来自于 http://academy.bindtuning.com/lets-bring-the-breadcrumb-back-to-sharepoint-2013/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: