Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Twitter doesn't work on social bookmark web part View modes: 
User avatar
Member
Member
Willy - 6/2/2011 10:59:02 AM
   
Twitter doesn't work on social bookmark web part
How come the twitter link share does not work?

from this page; http://www.directasia.com/onlineinsurance/in-the-news/2011/Lower-premiums-with-video-system

you can see the twitter icon from the right navigation....

also, how can I add linkedin into the list of sites from the web part?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 6/4/2011 4:25:32 AM
   
RE:Twitter doesn't work on social bookmark web part
Hi,

could you please try to replace following line of code:

bookmarkServices["Twitter"] = new string[] { "Twitter", "http://twitter.com/home?status=Add+this:", "&title=" };

with

bookmarkServices["Twitter"] = new string[] { "Twitter", "http://twitter.com/share?url=", "&text=" };


This change should be done in file:
~/CMSWebParts/CommunityServices/SocialBookmarking.ascx.cs (line 635)

Then the link should be shared correctly.

As for linkedin - you will need to modify code of the webpart and add linkedin option. How to modify code of standard web part is described here:
How to clone webpart

I will create a requirement to add this functionality to default web part.

Best regards,
Ivana Tomanickova