Gossamer Forum
Quote Reply
New Fields
Hello all,

i enter 6 new fields and everything works fine but i cant add this field with links. i submit the url but nothing saved in the databse i use this field

<INPUT NAME="street" SIZE="25"> or
<INPUT NAME="state" SIZE="25">
,...


but this new fields works fine in the admin mode but i cant add it on the add template

Can someone help me . How mustthis fields look like ?



Quote Reply
Re: New Fields In reply to
Where did you enter the 6 new fields?

You also need to update your Link.def file. Fields need to be added in the associated .def file and also in the appropriate table.

Regards,

Eliot Lee

Quote Reply
Re: New Fields In reply to
You need to add the same fields to the "Validate" table as well as the Links table.

The reason, all links go to the validate table first, and during a "modify", so if you don't update that table, you'll lose the information.



http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: New Fields In reply to
Oops...forgot about the Validate table and Validate.def file.

Sorry, pugdog.

Regards,

Eliot Lee

Quote Reply
Re: New Fields In reply to
<G> Gets them every time :)

I know we discussed early on (like september of last year) a way to link the edits so that the tables were updated together, _and_ your custom changes to the .def files were not lost in a resync. These may be features in the next links, since Alex said he was not able to put them into the 1.11 release, but would look into it for a future release.

These are two big "gotchas" since a resync almost always causes the question "Why is my search not returning anything", and adding fields to the Links table more often than not prompts this question.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/