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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Addthis button hover functionality

Go to End

3 Posts   1946 Views


Community Member, 22 Posts

31 May 2010 at 8:12pm

Hi there,

Running a site in 2.3.7 and trying to put the 'addthis' button ( on to the page template - can see the button fine and the hover works fine in IE8 (floatingwindow appears on hover with the options) but hover doesnt work in firefox and chrome latest versions (floating window doesnt appear). I'm guessing it's a javascript issue but I'm no developer.

Similar issue with the 'sharethis' button ( button graphic doesnt even appear in firefox/chrome & all works fine in IE8.

Cheers for any advice


Community Member, 904 Posts

31 May 2010 at 11:01pm

Try to remove the <?xml version="1.0" encoding="UTF-8"?> header from your template(s). Most likely these scripts use the "document.write" method which doesn't work with an XML document.


Community Member, 22 Posts

3 June 2010 at 3:00pm

Thanks Banal,

That worked, cheers!

Would removing that line have any other effect?