Gossamer Forum
Home : Products : Links 2.0 : Customization :

Ignore blank fields

Quote Reply
Ignore blank fields
I don't want to fill in the Name and E-mail address fields when I add links through the admin section. How do I stop links 2 from requiring this?
Quote Reply
Re: [scottishlaw] Ignore blank fields In reply to
Just a hint, when you have time, just browse these forums, you'll find answers to questions you hadn't thought of yet...

In links.def, find:

'Contact Name' => [6, 'alpha', 40, 75, 1, '', ''],

'Contact Email' => [7, 'alpha', 40, 75, 1, '', "],

See those two 1's in there? Change 'em to a '0' (zero) to make them not required.


Leonard
aka PerlFlunkie