From 6a35aed642479153f46ebcab221eaeb33921e73f Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 16 May 2012 15:30:01 -0400 Subject: [PATCH] Bug 7932 - twitter share doesn't work with socialnetworks Content-Type: text/plain; charset="utf-8" The only way I can get this to work consistently is to use Twitter's own code as documented here: https://dev.twitter.com/docs/tweet-button This requires that we use the tweet button generated by Twitter rather than the smaller image we were using before. Using the documented options for generating a custom button produced the same inconsistent behavior this patch attempts to fix. Because of the change of appearance I moved the Twitter button to last in line so that similarly-sized buttons were grouped. I also changed the configuration of the Google+ button to exclude the count, saving some horizontal space. This fix will have to be manually merged with the social networks followup for Bug 7500 (image sprites) if and when that patch is approved. --- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index cc59fb2..090c473 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -8,6 +8,7 @@ + [% END %] @@ -1208,12 +1209,11 @@ YAHOO.util.Event.onContentReady("furtherm", function () { [% IF ( SocialNetworks ) %]
Share - Share on Facebook - Share on Twitter + Share on Facebook Share on LinkedIn - Share on Delicious - - Share by email + Share on Delicious Share by email + +
[% END %] -- 1.7.9.5