Social bookmarking web part does not work properly with URL wildcards
Social bookmarking web part links the URL with wildcards instead of the current URL.
The problem is that it uses the DocumentURL path instead of current URL. We will fix this behavior in the 5.5 version. As a workaround you need to modify this file:
<web site folder> \CMSWebParts\CommunityServices\SocialBookmarking.ascx.cs
change line 675:
string liveUrl = node.IsLink ? CMSContext.GetUrl(node.NodeAliasPath, null) : CMSContext.GetUrl(node.NodeAliasPath, node.DocumentUrlPath);
to:
string liveUrl = UrlHelper.CurrentURL;
-hg-
See also: Applies to: Kentico CMS 5.0