Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
addthis toolbox is hidden after you load another page.
this line is missing:
<script type='text/javascript' src='/sites/default/files/addthis/addthis_widget.js#async=1'></script>
on every page except the first you open.
if block cache is disabled, there's no problem
Comments
Comment #1
Les LimThe AddThis script is only added into the page when the theme function is called, because we don't want to load the additional script file if AddThis isn't being displayed anywhere on the page. Block caching bypasses the theme function call, so that's why the script doesn't get added into the HEAD.
I'm open to some options for tackling this.
Comment #2
Alessandro Pezzato CreditAttribution: Alessandro Pezzato commentedIs it possible to disable block caching only for addthis block?
Comment #3
lpalgarvio CreditAttribution: lpalgarvio commented+1
Comment #4
Les LimFix committed. New release should be available shortly.