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.
I am trying to add the following 'add this' code to my website but it isn't showing. Have tried putting it in <p></p> which has worked with other codes in the past?
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<!-- AddThis Button END -->
a little info about where you add the code and such, would be helpfull.
remember to add ?flush=1 to the URL when making changes to template files - this forces SS not to use cached files.
I want to add this directly to a web page.
If you are trying to add the code in the TinyMCE editor, i guess the script tags will be stripped out.
Try having a look at the source code, what is actually coming out from the editor.
I think you should add the code to your template file instead.
Another option is to create a simple Textarea (without editor) and output the in the template.
But tinymce can be configured to allow script as well right....?? I have tried it by adding HtmlEditorConfig::get('cms')->setOptions(array(
'extended_valid_elements' => "*
I would create a new text area field and drop the code in there.. or put it directly into the page template