We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

always refresh on URL change | Forum

Kevin Jan 7 '17

I am using the Social Media Sharing Pluging (that uses AddThis) as well as an AddThis Expanding Image Share Tool button.

The issue I am having is on the Core Photos page, after tapping on a picture the picture is zoomed, and the current URL is updated to reflect that picture.  The Oxwall Media Share Plugins buttons reflect the change correctly in any shares (example mysite.com/photo/view/10/latest)  However the AddThis Tool still references (mysite.com/photo/viewlist/latest)

AddThis recommended using the following code. (as do several articles on the web)

Page Settings/Custom Tail Code:

<!-- always refresh on URL change -->

<script type="text/javascript">window.addEventListener("hashchange", function () {  addthis.layers.refresh();});


However no luck :(

If any one would like sample URLs to test - PM me.


The Forum post is edited by Kevin Jan 7 '17