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

Links pointing to internal pages

Quote Reply
Links pointing to internal pages
I am new to Links SQL. I have just finished the installation and I am preparing myself to the next update Wink
I'd like to know if it's a hard work to do some hacks such that I can have an option that makes the link pointing to an internal page and not to a url on Internet. This page will be stored in the same DB as the links sql one. The page is prepared with a standalone script.
I'll appreciate any hint. Thanks.

Quote Reply
Re: Links pointing to internal pages In reply to
Hi,

shure, just insert the internal adress. You don't need to change the code.

regards, alexander

Quote Reply
Re: Links pointing to internal pages In reply to
My entire site http://www.postcards.com/DigitalPostcards/ is made with internal links.

I made a few changes to jump.cgi, but really the only major rule you need to follow is that all URL's need to start with the ABSOLUTE PATH of the URL. That is, they need to start with a '/' at the server root, or if the link is to a file on your disk, they need to start with '/' which is the absolute path to the file on that device.

The reason is that not instances will correctly identify what the 'local' directory is, and the only way to make sure that things run right is to start at the root.

If you look at the base code for jump.cgi it looks to see if files start with "http://" or not, and you might have to tweak that a bit.

Quote Reply
Re: Links pointing to internal pages In reply to
Thanks for the two answers. Very often, the solutions are easier than what we thought.
I am not stranger to your beautiful site, pugdog Smile. I like the results of your Links SQL adaptation to your needs.
In fact, I have to thank you, you first and a lot of other people of this forum. I have learned a lot from your messages, advices and hacks. That helped me a lot to install Links SQL without any trouble.