Change SharePoint 2013 logo url link

site de rencontre efficace ou pas go site de rencontre ado laval femme enceinte recherche emploi single partys aschaffenburg reference http://stlukeslutheranchurch.org/valkirty/709 rencontres 45 55 ans top 14 rencontres you could try here In one of my recent SharePoint 2013 customisations, I had to change the logo url on SharePoint 2013 search center to point to one of the SharePoint 2007 site collection. Yes, you read that right, link to the SP 2007 site. Basically I was using the 2013 search to crawl through SP 2007 content to make best use of its search features.

I am not using any custom Masterpage, just trying to change the URL link by amending below line, but only work on home page and not on results.aspx. I know it can be changed if I use Custom masterpage, but in this scope no custom master page is being used.

<!--MS:<SharePoint:SPLinkButton runat="server" NavigateUrl="~sitecollection/" CssClass="ms-siteicon-a" ID="x7917ecc8c38d4bd69f58e338eab54c8c">-->

My initial thought was to append URL link using JavaScript, but after probing for other solutions I found that it can be achieved using jQuery. Up on opening developer tool on IE by pressing F12 to find out the <div> tag. It looks like I need to append one of the content place holders. I know this isn’t a nifty solution, but to save time and this could be a quick fix and could be of some help to others.

“ctl00_PlaceHolderLeftNavBar_onetidProjectPropertyTitleGraphic” This is the content place holder, which needs to be amended. To achieve this you can add below jquery to content editor web part on the page.

<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
 <script type="text/javascript">
 $(document).ready(function(){
 $("#ctl00_PlaceHolderLeftNavBar_onetidProjectPropertyTitleGraphic").attr("href","http://SP2007Site_or_anything);
 });
 </script>

But the catch with this solution is that, script works only for those who has a minimum of contribute permission. So, as I said this isn’t a nifty solution!!

Leave a Reply

Your email address will not be published. Required fields are marked *