23489 Posts in 18996 Topics by 2878 members
|Go to End|
4 October 2012 at 7:14am
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 -->
4 October 2012 at 9:57am
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.
4 October 2012 at 10:03am
I want to add this directly to a web page.
4 October 2012 at 10:07am
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.
6 October 2012 at 8:04pm Last edited: 6 October 2012 8:06pm
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' => "*
to mysite/_config.php...but script tags are getting stripped...any idea where this is happening?
12 October 2012 at 1:01pm
I would create a new text area field and drop the code in there.. or put it directly into the page template
|Go to Top|