Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Widgets /

Discuss SilverStripe Widgets.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

How to add and addThis btn?

Go to End



Community Member, 143 Posts

8 May 2010 at 1:10pm

Edited: 08/05/2010 1:32pm

Hi, i am pretty new to Silverstripe and i have still to learn - i just bought the big book about SS. Will read that over the week-end.

But for now, i have to add an addThis button. I tried to add this code using the CMS management panel.

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style">
<a href=";username=xa-4be4b59451791d7e" class="addthis_button_compact" ><img src="" width="83" height="16" border="0" alt="Share" /></a>
<span class="addthis_separator">|</span>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<script type="text/javascript" src=""></script>
<!-- AddThis Button END -->

SS refuse to add the JS line (beginning with <script type="text/javascript) and obviously its not working. I tried the exact same code into a normal HTML page and it works.

I tried accessing the headers of the HTML page to add the code with Dreamweaver, only to discover that THERE IS NO HTML PAGES!!!!

- - -

So how do i add that button?

Thanks for helping a newbie..