AddThis and ShareThis not visible in HTML Block

I would like to add an icon like this, tweet, pinterest and google+ to page 'Blog Post View' horizontally, so I decided to resign from the block dolphin 'Share' and use AddThis or ShareThis plugin. I generated html code, pasted and added to a simple HTML block. Unfortunately, the widget is not visible. Why?

Quote · 18 Feb 2014

have you checked the html block to see if it saved all of the code correctly?

Quote · 18 Feb 2014

Some code is stripped out by the TinyMCE editor.  Switch off the TinyMCE editor when you are adding code to a HTML block.

Geeks, making the world a better place
Quote · 18 Feb 2014

This topic might help in some places..

http://www.boonex.com/forums/topic/Pass-the-right-photo-video-thumbnail-to-Facebook.htm

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 18 Feb 2014

Did you switch the editor to HTML code when pasting your code?

http://boonexpert.com
Quote · 19 Feb 2014

I checked everything carefully. Pasted code in HTML editor, save and still do not see the widget Addthis. Other html codes work well. Only Addthis and Sharethis codes not work. I have original this code:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51be0b6c354322a2"></script>
<!-- AddThis Button END -->


but when I check this code after save in html editor, I have this:


<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style "></div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51be0b6c354322a2"></script>
<!-- AddThis Button END -->



Maybe there is problem?

Quote · 19 Feb 2014

 

I checked everything carefully. Pasted code in HTML editor, save and still do not see the widget Addthis. Other html codes work well. Only Addthis and Sharethis codes not work. I have original this code:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51be0b6c354322a2"></script>
<!-- AddThis Button END -->


but when I check this code after save in html editor, I have this:


<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style "></div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51be0b6c354322a2"></script>
<!-- AddThis Button END -->



Maybe there is problem?

 Did you change the entries in the database rather than adding an extra HTML block?

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 20 Feb 2014

http://www.boonex.com/forums/topic/Pass-the-right-photo-video-thumbnail-to-Facebook.htm#196963

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 20 Feb 2014

 

I checked everything carefully. Pasted code in HTML editor, save and still do not see the widget Addthis. Other html codes work well. Only Addthis and Sharethis codes not work. I have original this code:

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51be0b6c354322a2"></script>
<!-- AddThis Button END -->


but when I check this code after save in html editor, I have this:


<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style "></div>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51be0b6c354322a2"></script>
<!-- AddThis Button END -->



Maybe there is problem?

I just tested this on my test site and my guess is that when you load the block back in, the TinyMCE toolbar loads and cleans the code up.  So once you add the HTML block, turn off the TinyMCE, paste in your code, hit save, you can not go back and edit it.

Now, having said that about the editor, I pasted in your code and then went to the home page and the share buttons loaded for me.  So the code is OK.  Do what I outlined above without reloading after you hit save, and then visit the page you place the HTML block on and see if it loads.

Geeks, making the world a better place
Quote · 20 Feb 2014

By the way, they did not load in instantly for me, at first the block was empty, then I watched as it loaded the buttons.  I am guessing it is pulling things remotely; is there a way to have this locally on the server so that it is faster to load?

Geeks, making the world a better place
Quote · 20 Feb 2014

 

I just tested this on my test site and my guess is that when you load the block back in, the TinyMCE toolbar loads and cleans the code up.  So once you add the HTML block, turn off the TinyMCE, paste in your code, hit save, you can not go back and edit it.

 This has always been the case with some code.

I always have posted in the past that once you change an HTML via the database, you CANNOT edit it in the page builder section and expect the code to "stick," i.e. change the language key. If you do, the code will be cleaned.

Always make the changes in the database for these types of changes.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 20 Feb 2014

Yes.  I keep copies of code locally.  Then if I need to edit I can add back in the code that TinyMCE tends to remove.

Geeks, making the world a better place
Quote · 20 Feb 2014

Also keep in mind for 7.1.5 that AlexT has made a change for this...

http://www.boonex.com/forums/topic/Social-Sharing-Inconsistent-SUX.htm#220149

This does not help now.. but the database is the way around.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 20 Feb 2014

 

Also keep in mind for 7.1.5 that AlexT has made a change for this...

http://www.boonex.com/forums/topic/Social-Sharing-Inconsistent-SUX.htm#220149

This does not help now.. but the database is the way around.

There is a forum topic on the share by email is missing in some parts of the site.  I don't know if that was addressed or a ticket made; if not, it should be as well.

Geeks, making the world a better place
Quote · 20 Feb 2014

Thanks for all. I paste code in database on my server and works almost good but I don`t see google plus button. Can someone verify this please? for eg here: http://www.areavis.com/blogs/entry/10-metod-ktore-pomoga-Ci-lepiej-spac-w-nocy

But I still don't understand why exactly addthis and share this did not work in my html block. I think it may be a problem with HTML text editor.

 

Quote · 21 Feb 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.