Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

show subsite name in a document library

$
0
0

Hello,

when a user goes into a docuemnt library he doesnt see which subsite he is in.

This is very confusing when working with multiple subsites with all their own doc library

Can I change this?

I Found this code but this shows the whole path and I only need the site name:

<asp:sitemappath runat="server" sitemapproviders="SPSiteMapProvider,SPXmlContentMapProvider" rendercurrentnodeaslink="false">
</asp:sitemappath >
<span>
     <span style="width: 16px; height: 16px; overflow: hidden; display: inline-block; ;">
                  <img style="left: -109px !important; top: -232px !important; ;" alt=":" src="/_layouts/15/images/spcommon.png?rev=23"/>
     </span>
</span>

Also is it possible  to apply this to all document library's in a site collection.

thanks



Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>