PDA

View Full Version : How to get rid of AddThis block?



Son Vu
June 23, 2016, 05:55 AM
Hey guys out there, how to get rid of the AddThis block from 'View Details' page via backend?

1720

Wei Hong
June 23, 2016, 06:53 AM
Pls PM me url to your site, I can guide you after that

Viktor
June 23, 2016, 02:09 PM
Hello Son,

You can remove code from html.
Go to ftp://templates>>your_template>>tpl>>controllers>>listing_details.tpl
find code:


<li>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_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" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-52d66a9b40223211"></script>
<!-- AddThis Button END -->
</li>


and remove it. Save and check again.

Wei Hong
June 23, 2016, 02:37 PM
Hello Son,

You can remove code from html.
Go to ftp://templates>>your_template>>tpl>>controllers>>listing_details.tpl
find code:


<li>
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_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" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-52d66a9b40223211"></script>
<!-- AddThis Button END -->
</li>


and remove it. Save and check again.

You're late Viktor. I already told him your secret. LOL

Son Vu
June 24, 2016, 03:13 AM
Awesome, Wei and Viktor but why we don't make it as a content box in backend. Thank you!

Viktor
June 24, 2016, 03:26 AM
Hello Son,

Because it is not dynamic box. It is static code located in details page and only in one specific location. That's why we hard coded it.