[alamy] Link under thumbnails
patrickc
Joined: 2014-06-25
Posts: 1 |
Posted: Mon, 2014-06-30 12:10 |
Good Afternoon, My website is http://picpics.com Thank you Gallery version = 2.2-svn core 1.1.25 |
|
patrickc
Joined: 2014-06-25
Posts: 1 |
Posted: Mon, 2014-06-30 12:10 |
Good Afternoon, My website is http://picpics.com Thank you Gallery version = 2.2-svn core 1.1.25 |
|
Posts: 1642
I can see how having the Alamy link in search results would work well for you but hacking into the search result outputs is not a trivial matter from recollection.
In terms of opening Alamy in a different window, I am afraid it cannot be done with the stock module as it uses a http refresh redirect to go to Alamy. This always opens in the same window.
However, You could try, as a long shot, editing your "SendToAlamy.tpl" file to read:
<meta HTTP-EQUIV="REFRESH" content="0; URL=javascript:window.open('url=http://www.alamy.com/image-details.asp?ARef={$SendToAlamy.alamyref}','_blank');">"
The module author had posted that he developed a hack version (required changing one core file) that used a direct link instead of the http refresh redirect but he asked to be contacted for the details and did not post the details and so, such things get lost!
So you need to track him down and implement his hacked version. Unfortunately, his website/domain is offline.
--
dakanji.com
Posts: 8339
meta refresh no longer works in all browsers.
you could just use plain javascript:
<script>window.open('url=http://www.alamy.com/image-details.asp?ARef={$SendToAlamy.alamyref}');</script>
-s
________________________________
All New jQuery Minislideshow for G2/G3