Gossamer Forum
Home : Products : Gossamer Links : Discussions :

jump.cgi and detailed.html

Quote Reply
jump.cgi and detailed.html
Hi.

A user could have (in my setup):

Primary Site (ie <%URL%> ) which a Link owner may or may not have (so turned Not Null to No)

Subdomain ( <%Subdomain%> ) which the Link Owner Will always have.

What happens to jump.cgi when
  • there is no <%URL%> and Only <%Subdomain%>

What i would want is that in case there is no <%URL%> (which can happen) and there is <%Subdomain%> (which will always be there in my case) then jump.cgi jumps to the Subdomain site.


Any Help?

TIA
Anup
Quote Reply
Re: [anup123] jump.cgi and detailed.html In reply to
something like

<%if URL%>
jump to <%URL%>
<%elsif Subdomain%>
jump to <%Subdomain%>
<%else%>
do something else
<%endif%>


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] jump.cgi and detailed.html In reply to
Hi.

Actually it is jump.cgi?ID=<%ID%> on the detailed page and i did not find any ref to <%URL%> so the problem. If hits are being counted thru jump.cgi the putting it

<%if URL%>
jump to URL
<%else%>
jump to Subdomain
<%endif%>

would remove the Hits stats. I don't know but i could be wrong.
So how do i get over this without really losing sight of Hits stats if it being generated thru jump.cgi ?

I know a crude way would be to have the same reversed (URL be Subdomain and Subdomain be the Primary Site ... a matter of labelling on the Add /Modify form) but that's a crude way just as i said.

Any clue how to do it?

Thanks
Anup
Quote Reply
Re: [anup123] jump.cgi and detailed.html In reply to
You'd need to modify jump.pm to use the same test I posted. If exists URL then jump there, else, jump to subdomain.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Quote Reply
Re: [pugdog] jump.cgi and detailed.html In reply to
Hi.
Beyond me. I can just do a ctrl+c ctrl+v....

Thanks
Anup