Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Counting without jump.cgi?

Quote Reply
Counting without jump.cgi?
Hi,

i'm using links without jump.cgi for external urls - how could i count the clicks on detailed pages?

Thanks for hints!

Quote Reply
Re: Counting without jump.cgi? In reply to
This has been discussed in the Links SQL Discussion Forum. Anyway...you would need to use jump.cgi for your Detailed Pages.

You would have to use the following link in your link.html file:

Code:

<a href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>">Detailed Page</a>


Then in the jump.cgi file, change the following codes:

Code:

$goto = $rec->{'URL'};


to the following:

Code:

$goto = $LINKS{build_detailed_url}/$rec->{URL}.$LINKS{build_extension};


Regards,

Eliot Lee

Quote Reply
Re: Counting without jump.cgi? In reply to
In Reply To:
$goto = $LINKS{build_detailed_url}/$rec->{URL}.$LINKS{build_extension};
Eh i think the above code is wrong it have to be:

$goto = "$LINKS{build_detail_url}/$rec->{'ID'}$LINKS{build_extension}";

And it have to be replaced twice...

Regards Startpoint.

Quote Reply
Re: Counting without jump.cgi? In reply to
That is if you have the $LINKS{build_extension} set to ".html" or ".shtml".

Regards,

Eliot Lee

Quote Reply
Re: Counting without jump.cgi? In reply to
In Reply To:
That is if you have the $LINKS{build_extension} set to ".html" or ".shtml".
Yes.

But you wrote:

$goto = $LINKS{build_detailed_url}/$rec->{URL}.$LINKS{build_extension};

There are 2 errors in it right?

build_detailed_url have to be build_detail_url and
$rec->{URL} have to be $rec->{'ID'} right ?

Regards Startpoint.



Quote Reply
Re: Counting without jump.cgi? In reply to
NO...there is ACTUALLY ONE ERROR! Mad

Regards,

Eliot Lee