753 Posts in 310 Topics by 289 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1004 Views |
-
How to add and addThis btn?

8 May 2010 at 1:10pm Last edited: 8 May 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="http://www.addthis.com/bookmark.php?v=250&username=xa-4be4b59451791d7e" class="addthis_button_compact" ><img src="http://s7.addthis.com/static/btn/v2/sm-share-fr.gif" 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>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4be4b59451791d7e"></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..
| 1004 Views | ||
|
Page:
1
|
Go to Top |

