Tuesday, October 11, 2011

share this

in view

$pubid = '';
 $wtype = '';
echo $sharethis->init($pubid, $wtype);

horizontal
$sharethis->btnsInTray(array('twitter', 'facebook', 'yahoo', 'gbuzz', 'email', 'sharethis'));

vertically
echo $sharethis->btnWithCount(array('facebook', 'twitter', 'sharethis','plusone'), 'v');

refer:http://bakery.cakephp.org/articles/rightwayindia/2011/06/25/sharethis%E2%80%9D_social_media_helper

No comments:

Post a Comment