Closed (won't fix)
Project:
Easy Social
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
19 Oct 2011 at 07:52 UTC
Updated:
16 Feb 2015 at 11:32 UTC
Jump to comment: Most recent
Comments
Comment #1
alexweber commentedCould you please provide more information, are you using Views ajax, ahah?
Thanks!
Comment #2
isagarjadhav commentedEasy social buttons dont load in ajax.
Comment #3
alexweber commentedI can't replicate this!
Could you please give step-by-step instructions to replicate this bug please so we can fix it?
Comment #4
isagarjadhav commentedNeed to add lines in your AJAX where you process server response -
for twitter -
and
for google -
Comment #5
pikot commentedWhere I have to add these lines? In a field in the view?
Comment #6
KarinW commentedI would also like to know where to add these lines. I have Easy Social in a block region that is designed for search fields. It's the only logical place to put them, but they often don't show. Could this be related to them being placed in a block region for search?
Comment #7
pradeepnarayanacan someone tell where i need to add #4 solution in the module ?
Comment #8
isagarjadhav commentedSorry for delayed response. Issue is not related to this module but the way twitter and google widgets render their plugin asynchronously. You need to add lines in your AJAX where you process server response. That is if you are using custom module and writing your own ajax handler through jQuery code written above will go under response handler of that ajax request.
For Ajax request generated by Drupal Module it would go under -
(function ($) {
Drupal.behaviors.module_that_invoked_ajax = {
attach: function (context, settings) {
$.getScript('http://platform.twitter.com/widgets.js');
if(gapi) {
gapi.plusone.go();
}
}
};
})(jQuery);
Hope this helps.
Comment #9
isagarjadhav commentedBug is related to ajax handler and not this particular module. Twitter and google render their widgets asynchronously. That's why we need attach twitter and google widget instance after each ajax request is processed so that these 2 widgets render correctly.