Gossamer Forum
Home : Products : Gossamer Links : Discussions :

URL - The Best Way...

Quote Reply
URL - The Best Way...
Hi,

As the URL field is a requirement of the whole structure of links, running a site that has no external links but only detailed pages, what would be the best way to handle the URL field.

Perhaps assigning the field to the actual detailed page for the record if possible?

Any thoughts on this conundrum?

Thanks.

- Eraser

Quote Reply
Re: URL - The Best Way... In reply to
don't require the URL field...

Then edit the jump.cgi script that checks to see if the URL field is filled, if it is, then it redirects users to the URL of the record, if not, then it will redirect the detailed page.

Best of luck!

Regards,

Eliot Lee
Quote Reply
Re: URL - The Best Way... In reply to
I got this working perfectly with Links 2 by replacing the following in jump.cgi:

chomp ($goto = $1);

with:

$goto = "/Detailed/$id.html";

But with Links SQL 2 being so different, I wouldn't know where to start on this!

Perhaps Alex can shed some light...

- Eraser

Quote Reply
Re: URL - The Best Way... In reply to
Not much use with Links SQL though is it :)

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/