Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Pugdog Recommend Mod Question

Quote Reply
Pugdog Recommend Mod Question
Hi,

I'd like to have the 'return to page' link on the success page in the mod take the user back to the category/link listing where they came from instead of looking for a detailed page. Or is that what the 'location' change mentioned in the configuration notes is about? (below). If not, can you possibly tell me how to make it so the link will return them to the category/link listing page they came from.

Cheers

Regan.

##################################################################################################
## send the user back to the detailed page he _probably_ came from.
## print "Location: http://www.postcards.com/cgi-bin/DigitalPostcards/jump.cgi?ID=$id.html\n\n";
## alternative:
## user gets the success page instead, _I_ like it better, but you might not. This is how it is
## set up in default configuration -- to return the "recc_success.html" file, not a location.
## To use the Location: field, go all the way to the end of file, and replace the last call to
## to "(print &site_html_recc_success({%TAGS,%$rec,recip_list=>$recip_list}))" with "(return)"
##################################################################################################

Quote Reply
Re: Pugdog Recommend Mod Question In reply to
Yes...

That was so long ago, I'd have to dig up the code, but I think that the 'alternative' configuration explanation makes sense.

Some people want people to go back to where they were, others to be
led to a success page.

Try the mod, if it doesn't work, I'll look at it.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Pugdog Recommend Mod Question In reply to
Thanks Pugdog,

I've commented out both 'content-type' sections as the instructions say, and I've tried all sorts of different variations of the line;

## To use the Location: field, go all the way to the end of file, and replace the last call to
## to "(print &site_html_recc_success({%TAGS,%$rec,recip_list=>$recip_list}))" with "(return)"

...but I keep getting software errors when trying to call it. Could you possibly post the line here with the right syntax as it should be input in the script?

Cheers