Owdy Posted September 4, 2018 Posted September 4, 2018 If you wanna use Addthis share buttons etc, you put JS snipplet in Globaltemplate. But i wanna show them only to publick pages, how do i do that? Tryed this, got error: {{if !$topic->container()->disable_sharelinks}} <!-- Go to www.addthis.com/dashboard to customize your tools --> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-****"></script> <script type="text/javascript"> var addthis_config = addthis_config||{}; addthis_config.data_track_addressbar = false; addthis_config.data_track_clickback = false; </script> {{endif}}
Recommended Posts
Archived
This topic is now archived and is closed to further replies.