By Steven Koontz on Monday, 18 August 2014
Posted in General Issues
Replies 3
Likes 0
Views 1.9K
Votes 0
Hi, I have been messing around with Google PageSpeed's defer_javascript filter, and my entire site works fine EXCEPT EasySocial. Deferring the JS breaks the profile hover popups as well as images in the stream.

So the solution is to try to add a pagespeed_no_defer attribute to the ES scripts, so that all ES/Foundry scripts are loaded like this:

<script pagespeed_no_defer="">...</script>

but I can't find the place to do it. Can you point me to the right place?
I am not really sure which particular script tag are you referring to here but you can try editing the file /media/com_easysocial/scripts/template.php
·
Monday, 18 August 2014 23:15
·
0 Likes
·
0 Votes
·
0 Comments
·
OMG there are a lot of scripts in there! Anyway, for some reason it's working even with the JS deferred. Wierd, but if it ain't broke don't fix it!
·
Wednesday, 20 August 2014 01:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Steven, glad that your issues are resolved now.
·
Wednesday, 20 August 2014 12:51
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post