Gossamer Forum
Home : Products : Links 2.0 : Discussions :

putting a href in front of the url

Quote Reply
putting a href in front of the url
Can I put http://www.thebizlist.com/cgi-local/directory.cgi?url= in front of the url from the submission. If so where? It's a click thrue script. Which needs to look like:http://www.thebizlist.com/cgi-local/directory.cgi?url=http://www.asite.com

Thanks,
Cam
Quote Reply
Re: putting a href in front of the url In reply to
If using Links 2.0 with templates, edit the link.html file:

Change:
<a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>">

To:
<a class="link" href="http://www.thebizlist.com/cgi-local/directory.cgi?url=<%db_cgi_url%>">

Dan Smile

Quote Reply
Re: putting a href in front of the url In reply to
You mean in the add form?

I really don't know what you are attempting to do. Can you provide a better example or be more specific about what you would like to do?

If it is a matter of adding the the link you provided before every link, then you can use Dan's suggestion. If not, then you will have to be more specific about your end goal.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: putting a href in front of the url In reply to
Ahh bummer it shows up in the click thru database as http://www.thebizlist.com/cgi-local/links/jump.cgi?ID=40 oh well........sooo anyone workin on a click thru script? Smile

Cam
Quote Reply
Re: putting a href in front of the url In reply to
Oops! The replacement code should be as follows:

<a class="link" href="http://www.thebizlist.com/cgi-local/directory.cgi?url=<%URL%>">

Sorry about that!

Dan Smile


Quote Reply
Re: putting a href in front of the url In reply to
Ahh sweet dood, Thanks!

Cam