I have been searching for days for a way to make the ecard "view more topics" target to point to the url from which the ecard was initialized rather than the main photo gallery.
I have already searched this forum heavily and have not found a direct answer for this.
This is what I am looking for :
Current code :
{VIEW_MORE_TGT} = URL to the gallery index
The code that I want :
{VIEW_MORE_TGT} = the url from which the ecard was launched.
Thanks for any help on this.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.pupspot.com%2Fimages%2Fspecial%2Fthinkdog.png&hash=f2d0545f8ebe64bb0a6f639a3979704f5ff484b7)
Edit ecard.php from
'{VIEW_MORE_TGT}' => $CONFIG['ecards_more_pic_target'],
to
'{VIEW_MORE_TGT}' => "{$gallery_url_prefix}displayimage.php?pos=-$pid",
Or in your theme.php, change
{VIEW_MORE_TGT}
{VIEW_MORE_TGT}displayimage.php?pos=-{PID}
Which would be preferable.
Appreciate it !!
I tried it and came up with "access denied"
So I did this instead :
I entered the URL exactly as it appeared in the browser into the a href and stuck these in the right sockets.
'{VIEW_MORE_TGT}' => $album, '{VIEW_MORE_TGT2}' => $pos,
It nailed it!
I am sure there is probably an easier method, but I have only been working with PHP for about a month so I am still really green!
Appreciate your quick response and support which is an uncommon trait in most support communities.
Good Day & Thanks
superz
Quote from: superz on April 03, 2006, 11:19:37 PM
Appreciate it !!
I tried it and came up with "access denied"
So I did this instead :
I entered the URL exactly as it appeared in the browser into the a href and stuck these in the right sockets.
'{VIEW_MORE_TGT}' => $album, '{VIEW_MORE_TGT2}' => $pos,
It nailed it!
Hallo every one fiel the www.rendiautorent.ee