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

URL as null field

Quote Reply
URL as null field
I want to allow the URL field to be left empty when a detailed page is being built and indexed.

How can I re-set the URL field so it doesn't need to be filled in?

--------------
Found out how to re-set the field- had been looking in the wrong tables.
---------------

Thanks
Rennie


[This message has been edited by lcnl (edited November 23, 1999).]
Quote Reply
Re: URL as null field In reply to
I havenīt seen the right place in sql till yet; but in Links 2.0 you find at the top from links.cfg the definition for the fields; in the last col (or near) you find the 'http ....' this means that this string must be inside; one or two cols before you set 0 or 1 for "there must be something inside the field or not". Hope i understood your question right and it would help.

Or you mean: Link at the listpage, but noone at the detailpage? Then i must pass, cause never seen a detailed page before.

Robert
Quote Reply
Re: URL as null field In reply to
It's actually the same as in Links 2.0.

There is a 1 in the 'required' field if you have to fill it in, or a 0

You'd want to change the '1' in your def file to look like this:

URL => [ '3', 'CHAR', '40', '150', '0', '', ''],


I also got rid of the 'http' because all (well, 99.999%) of my URL's are internal, and use relative paths.