Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
SajMalik
SajMalik
It's not usual for me to ask what seems a stupid question - but -
- I want to insert my ADD THIS code into a block.
I have had this on site before without a problem but when I add the block to a page now the block appears blank.
 
Just to be clear, I add this code into the block:
 
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
 </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=addamalik"></script><!-- AddThis Button END -->
 
Perhaps Dan or another good soul can put me right?
 
theruck
theruck
you need to switch to the source and not to paste it in the wysiwyg editor
 
SajMalik
SajMalik
- yes, that's what I did Wink
 
TOCDCO
TOCDCO
Hey Chris, did that fix your issue?
 
Sorry about the delay
 
SajMalik
SajMalik
No, Dan, so much else to do I put it on the back burner.
 
But I would like to know what I have wrong as I did have it up OK a while back and now [my aging brain] can't fix it.
 
Chris
 
btw - I hope all is well with you these days?
 
Retailing in the UK is in a real mess and many are discounting so heavily they must just be trying to cover their liabilities and little more.
In compensation I sold my interest in the business to my partner and now work as a consultant to his business - then find time to play clarinet in my church and other satisfying things Smile
 
TOCDCO
TOCDCO
It appears you're using the old version of the codes. I would go back to http://addthis.com and redo the code for it.
 
Try this:
 
<!-- 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"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=addamalik"></script>
<!-- AddThis Button END -->
 
Regards,
 
SajMalik
SajMalik
This is the code I got from AddThis a couple of weeks ago.
I will try again - but that wouldn't affect whether it displays in Viart?
 
TOCDCO
TOCDCO
I was getting the blank box as well. Once I generated it this way, it worked.
 
Let me know what you come up with otherwise.
 
SajMalik
SajMalik
Thanks Dan, your advice is appreciated.
I'll certainly give it a try and let you know.
 
SajMalik
SajMalik
Interesting, Dan, I got code from ADDTHIS and it still left me with a blank box.
I used yours and it worked - don't need to know why just that it does - thanks, Chris