Gossamer Forum
Home : Products : Gossamer Links : Discussions :

different templates for search.cgi

Quote Reply
different templates for search.cgi
I use linksql with static-pages and a shopping-card, and needed to change the back-link on the detailed pages to a hardcoded link. I canīt use javascript back, because this is used in the shopping-card ....

When I use search.cgi the detailed template does not have the right back link to the search result.

I need to use a different detailed template and maybe link template for the search function.
How can I link back to search results?


Quote Reply
Re: different templates for search.cgi In reply to
You could try using environmental variables like $ENV{'HTTP_REFERER'} and $ENV{'QUERY_STRING'} as global variables, and add global tags in your detailed template.


Eliot Lee Wink