Sitecore.StringUtil.EnsurePrefix on GetMediaUrl with alwaysIncludeServerUrl=”true” will break the code on Sitecore7.xx

Recently (I guess on SC 7) Sitecore changed the behavior of  alwaysIncludeServerUrl so that it can also be used by Media item URL. Now, if you set alwaysIncludeServerUrl=”true”  and in the code as we have been advised to use EnsurePrefix(‘/’ then the URLs for Media will look like this “/http:www.xxx.com/~/Media/blahblah”  so it adds a leading slash. … More Sitecore.StringUtil.EnsurePrefix on GetMediaUrl with alwaysIncludeServerUrl=”true” will break the code on Sitecore7.xx

Sitecore Reindexing Module For Lucene and Solr

This module will add a shortcut in Context Menu to force Lucene Indexer to re-index the item. Sitecore.SharedSource.IndexThis.Commands.config file The IndexThisAndDescendants class The IndexOnlyThis class Link to Sitecore Market Place https://marketplace.sitecore.net/en/Modules/Sitecore_SharedSource_IndexThis.aspx GitHub https://github.com/MortazaKamalNourestani/Sitecore.SharedSource.IndexThis

How to resolve jQuery Conflict with Sitecore in Sitecore Page Editor Mode

Load your js file right before calling the script To make your life easier wrap your code in an anonymous function and pass the jQuery variable in. This is probably more obvious if you’re writing some code others will use like a jQuery plugin, but could help save you down the line. Adding the anonymous … More How to resolve jQuery Conflict with Sitecore in Sitecore Page Editor Mode