Page 1 of 1

SocialBookmarking and News Summary / Detail

Posted: Mon Jul 23, 2012 10:56 am
by Mich-adg
Hi,

i'm trying to use SocialBookmarking (1.6, becaused error when unzipping the 1.7 on the forge...) with the news module. I actually display the social icons on each news summary and news detail.
First problem : the links generated by the SB module in each summary always gives me the url of the actual page, and not the url of the detail page. Is it possible to correct that ?
Second problem : in the detail page, same link problem. If i try to use "real_url=1", the url is fine. With Twitter the news title is ok, but for Facebook and Google Plus Title and description are taken from another (random ?) news!
I tried this (found in the forum) with no luck :

Code: Select all

{assign var="blogtitle" value=$entry->title|cms_escape:htmlall}
{socialBookmarking real_url=1 submitto="email|facebook|twitter|linkedin" plusone="1" img_size="small" title=$blogtitle}
Thanks for any help!

I use cmsms 1.10.3 and mod_rewrite

Re: SocialBookmarking and News Summary / Detail

Posted: Tue Jul 24, 2012 10:20 am
by wich
Hallo,

today I've released a new version 1.8 for the plugin socialBookmarking.

This release supports 2 new parameters "custom_url" and "custom_title" to set manually the url and the title of the current page without self detection functionality, useful to solve the problems with News summary and CGBlog summary.

You can find it in the forge: http://dev.cmsmadesimple.org/projects/socialbks

Re: SocialBookmarking and News Summary / Detail

Posted: Tue Jul 24, 2012 10:48 am
by Mich-adg
Thanks!! Links and titles seems to be ok now for emails, Twitter..., expect for Facebook : the link takes the default site url and the description takes a global content tag at the bottom of my page! Must look what's wrong on my site, perhaps nothing to do with the plugin itself...

Re: SocialBookmarking and News Summary / Detail

Posted: Tue Jul 24, 2012 8:26 pm
by Mich-adg
When rolling over the Facebook link i see the good article detail link :
http://www.facebook.com/share.php?u=htt ... tblog.html but if i click, the facebook share window takes the default url of my site and another article summary! Any idea of the problem?