Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Back-Link Detailed Pages

Quote Reply
Back-Link Detailed Pages
I want to use dynamic-pages with detailed-pages.

When I run a search, I get a link to detailed page, but on the detailed page is no link back to the search result.

Should I use a link like javascript:history.go(-1)
or is there another solution?

Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Back-Link Detailed Pages In reply to
Hi,

You should use javascript:history.go(-1), no need to re-run the search each time, adds extra overhead.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Back-Link Detailed Pages In reply to
I use a shopping-card and the navigation is still a big problem.

In case of using detailed pages I run into problems.
I canīt use javascript:history.go(-1) as backlink on the detailed pages, because if a visitor click on "add to shopping card" on the detailed page he will be taken to the shopping-card, then he can jump back to the detailed page. NOW problem starts.

The javascript:history.go(-1) backlink at the detailed pagew would bring the user back to shopping-card!! He will run in a circle.

Actually I use static pages and I use a coded URL at the input of the shopping-card to have a link back to the Links pages. This worked, but in this way I canīt use the search function, because I cantīcode the link back to the search result pages.

To use the search function I would need to have a reffer to the search result. I can set a hidden input at the shopping-card input on the detailed-page which will be used from the shopping-cards as the link back to Links pages. I donīt want jump back to detailed page, I want jump back to search result or dynamic category.

Now the key question!!

How to define an url, created by tags or something else, on the detailed page which reffer to the page visited before to have this as the back link on the shopping-card?

I know this question is very confusing. I tried my best to describe it, english is not my native language :(

Michael





--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Back-Link Detailed Pages In reply to
This works (Idea from RedRum /corrected!!):

Create a global at BUILD >> TEMPLATE GLOBALS

sub {
my $referer = $ENV{HTTP_REFERER};
return $referer;
}

Then use <a href="<%Tag_Name%>">

I can set this Tag into the hidden-input-backlink of the shopping card.
The customer can now switch from detailed page to the shopping card
and will be returned (continue shopping) to the page (category or search result) where he started from.

Michael




--
Michael Skaide

http://www.cycle24.de

Last edited by:

Michael Skaide: Oct 5, 2001, 12:39 PM
Quote Reply
Re: [Michael Skaide] Back-Link Detailed Pages In reply to
Pugdog? Angelic
Quote Reply
Re: [RedRum] Back-Link Detailed Pages In reply to
Iīm so sorry Paul!!!
Please excuse this attack Cool

I mixed something!!

Michael

--
Michael Skaide

http://www.cycle24.de

Quote Reply
Re: [Michael Skaide] Back-Link Detailed Pages In reply to
Don't worry about it I'm just being silly as normal. Cool
Quote Reply
Re: [Michael Skaide] Back-Link Detailed Pages In reply to
Unless I'm missing something, just pass ID as LinkID, and then to link back, you would just jump.cgi?ID=<%LinkID%>


Ooops...that's how my jump.cgi works.

You'd proabably want to pass <%detailed_url%> to the shopping cart as <%back_to_detailed_url%> or something similar. Then, you'd just click that to return.




PUGDOGïŋ― Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.

Last edited by:

pugdog: Dec 30, 2001, 11:49 AM
Quote Reply
Re: [pugdog] Back-Link Detailed Pages In reply to
Itīs not the problem to pass a link or an url to the shopping-card, that works fine for me.
I can forward a Return-URL with the click on the buy-now-button on the detailed-page.

Problem is that I need a Return-URL which can point to a search-result.

Maybe you take a look at my actual idea at thread # 175379

Michael



--
Michael Skaide

http://www.cycle24.de