Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Share link doesn't work when using a custom index.html

21 Aug 2011, 06:38

You need to include the AddThis javascript to your custom document. Put the following in the <head>:
Code
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>
 
User avatar
mjau-mjau
X3 Wizard
Topic Author
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Share link doesn't work when using a custom index.html

22 Aug 2011, 12:55

Sorry, I misunderstood the problem ... I think Nick will get back to you shortly with a possible solution. The problem occurs because you are using a custom index file that does not apply the action ?share=
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Share link doesn't work when using a custom index.html

22 Aug 2011, 14:27

This is a bug, but we can provide a workaround for now.

Rename your index.html to index.php and add the following as the first line:
Code
<?php if(isset($_GET['share'])) { include ('imagevue.php'); die(); }?>
This will make sure the imagevue.php is used if there is a 'share' parameter passed in the query string.
firedev.com
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Share link doesn't work when using a custom index.html

24 Aug 2011, 05:07

Oh I didn't notice that you have both index.html and index.php, in that case rename index.html to index.php overwriting the latter and make sure there is no index.html left in the root folder, then paste this line in the beginning of the file:
Code
<?php if(isset($_GET['share']) || isset($_GET['language'])) { include ('imagevue.php'); die(); }?>
But of course the easiest way to solve this would be to put gallery in a sub-folder.
firedev.com