
I'd be happy to use your block, but it doesn't have the display that I am looking for.
I put this code in my template, which was working FINE as regular HTML. After I Concrete5-ized my template, it simply disappeared:
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js">
Also, see my file attachment for the display I'm looking for...
Once I turned my template into a C5 template, they simply disappeared, so I gave up and deleted the javascript and html code from my template and instead added an editable area, installed your plugin and pasted the javascript and html code in the space where your plugin says to do so... didn't work, there was nothing where the buttons should be.
So, I finally found the register button at the top right and clicked that and see by the fact that it automatically logged me in that I had already registered before.
So, F this sharethis bs. Off to find some simple AJAX buttons somewhere hopefully. What a convoluted mess.
Taken from ShareThis site instructions:
"This is your button code, it generates the buttons that you see on your page. Place it wherever you want them to appear."
<span class='st_twitter_large' ></span><span class='st_facebook_large' ></span><span class='st_yahoo_large' ></span><span class='st_gbuzz_large' ></span><span class='st_email_large' ></span><span class='st_sharethis_large' ></span>
"This is your ShareThis script tag, without it the buttons don't work. You can put it anywhere on your page. We recommend putting it in your header (between your <head> and </head> tags)"
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'4b9e427c-9dc6-4c6f-8e67-8889cbe53c97'});</script>
---
I just added a regular html block and pasted both codes in. Works like a charm. Should be easy to add it to your template file by just pasting the code in.
The AddThis plugin worked fine, though.
Then, I just hard-coded the AddThis code right in my template and it worked perfectly fine.
I had hard-coded ShareThis in my original template but it completely broke once I transitioned from HTML to a PHP C5 template. Wish I knew why the F such inconsequential little things cause so much trouble. I mean, it's a javascript and a teensy tiny bit of html. I don't get it.
Same exact type of deal with AddThis and no problem. Up and running in 2 minutes. The other thing I spent the whole day trying to figure out.
...wondering if some other javascript conflict is occuring... maybe firebug reported errors in the console? oh well, sounds like you've got your solution down.
So funny how quickly a day goes by when trying to figure out a bug.
Take care