Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
Has anyone successfully made ww.ShareThis.com social buttons work from inside the Ning html box?
You have to add both code to the custom code box as well as the chosen html box.
On my network the html box is just blank ... blank blank blank ...as is my brain as to why it is so??
hmmm, not sure. To save time, could you attach both files? The script for Custom Code Box, and the code for the Text Box...
Sorry Brian, I didn't see this reply until now, been having a horrible time with internet service this past week. I've missed a lot.
Not sure I can help without seeing the code. When you add the text box code to the text box, I assume you're clicking the html button?
Are you trying to add scripts to the text box? If yes, you may be talking about adding a simple DIV tag. Sometimes when scripts freak in a text box, wrapping it in a <DIV>content</DIV> fixes it.
Isn't it strange that a big service like www.ShareThis.com does not work on a Ning network?
This goes in the analytics box:
I've been testing this for about 30 minutes. It's stripping the DIV, not the script. I added both to HTML. I'm not sure what it doesn't like. I even tried the old trick of adding a period before everything to trick Ning's parser, and it still strips the code.
Finally, I grabbed the classic code, and instead of the span, I used a DIV. That worked. You might be able to get your original code to work if you replace all SPAN tags with DIVs.
This classic code works, by changing the SPAN to DIV:
<div class='st_sharethis' displayText='ShareThis'></div>