hello,
I have build an html custom module using the code grabbed from AddThis for having social sharing button:
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50d1e520261f55d0"></script>
<!-- AddThis Button END -->
then I was planning to set position on “addthis” and recall the buttons where I need them with a “loadposition”.
BUT even if I turn off the editor,whenI insert the code as raw then it is cleaned automatically… I turned off “script” in the blacklist inside tinyMCE plugin but is still happens – I get this code:
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">*</div>
<script type="text/javascript">// <!]></script>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-50d1e520261f55d0"></script>
<!-- AddThis Button END -->
I also turned off the JS optimisation in the template setting… but no way.
Any hint on how to solve this?