Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Relative Path for favicon and SiteLogoImage

$
0
0

I found this thread concerning the question how to inbound external files (such as style.css) by refering them relativly:

http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/9bc131c3-db38-46b2-992a-abdcf2dac9b0/

I tried to apply this approach to set the favicon (or other images such as: SiteLogoImage, etc.) also relativly in the HTML Masterpage.

Therefore I tried following links:

 <!--SPM:<asp:Literal runat="server" Text="&lt;link rel='shortcut icon' href='" />-->
 <!--SPM:<asp:Literal runat="server" Text="&lt;% $SPUrl:~sitecollection/Style Library/Themable/client/images/favicon.ico %&gt"/>-->
 <!--SPM:<asp:Literal runat="server" Text="' type='image/vnd.microsoft.icon' /&gt;" />-->


 <!--SPM:<link rel="shortcut icon" href="&lt;% $SPUrl:~sitecollection/Style LibraryThemable/client/images/favicon.ico %&gt"/>-->

 <!--SPM:<SharePoint:SPShortcutIcon runat="server" IconUrl="&lt;% $SPUrl:~sitecollection/Style Library/Themable/client/images/favicon.ico %&gt"/>

But anything works :/

What do you think?



Viewing all articles
Browse latest Browse all 25064

Trending Articles



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