Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

mods to jump.cgi

Quote Reply
mods to jump.cgi
I posted some mods to jump.cgi that let it redirect to the detail page, count hits and actual jumps, etc.

The mods were really done to allow different responses based on different locations from inside the site jump.cgi was called -- category page, detail page, etc.

If you wanted to have the behavior of jump.cgi to vary based on the kind of link, or even the category of the link, etc you can have jump.cgi test for whatever field or characteristic you want, then branch based on the result.

If you have different types of links, and want different links to behave in different ways, you can set up a field in the Links record, that has the default behavior, but can be set to one of several other defaults (either drop down list, or type in, either by the admin only, or on the add screen).

You can branch based on that, and then filter down to the default behavior.

Just wanted to point that out!

The difference between the mods to jump.cgi between changing behavior based on passed parameters (where the link is called from) or by some default behavior that is built into the link -- a unique field descriptor.

Jump.cgi has a lot of flexibility to handle re-direction, and to keep track of stats, if you spend a bit of time trying to figure out what you want (or need) it to do.