I hadn't seen that thread. You're right. It's much clearer. About deleting those lines in links.def-- Isn't commenting them out the same as deleting them? Anyway, I tried deleting them, as well as (big mistake) deleting them from important fields. Ouch. Links went bonkers. It changed all 5000 of my IDs to "No." It marked every record as New. This is, clearly, not the solution. So I tried keeping them in in both places, commenting them out only in %db_def, but reordering them. What I have now is:
ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 75, 125, 1, '', ''],
URL => [2, 'alpha', 100, 300, 1, '', '^http|news|mailto|ftp'],
Date => [3, 'date', 15, 15, 1, \&get_date, ''],
Category => [4, 'alpha', 0, 500, 1, '', ''],
AltCategories => [5, 'alpha', '75x15', 1000, 0, '', ''],
Description => [6, 'alpha', '70x3', 500, 0, '', ''],
Keywords => [7, 'alpha', '70x3', 500, 0, '', ''],
State => [8, 'alpha', '50', 75, 0, '', ''],
Country => [9, 'alpha', '50', 75, 0, '', ''],
'Contact Name' => [10, 'alpha', 40, 75, 1, 'Kathy', ''],
'Contact Email' => [11, 'alpha', 40, 75, 1,
'webmaster@,
'.+@.+\..+'],
ReceiveMail => [12, 'alpha', 10, 10, 1, 'Yes', 'No|Yes'],
isPick => [13, 'alpha', 0, 5, 0, 'No', ''],
isNew => [14, 'alpha', 0, 5, 0, 'No', ''],
# Hits => [15, 'numer', 10, 10, 1, '0', '\d+'],
# isPopular => [16, 'alpha', 0, 5, 0, 'No', ''],
# Rating => [17, 'numer', 10, 10, 1, 0, '^[\d\.]+$'],
# Votes => [18, 'numer', 10, 10, 1, 0, '^\d+$']
);
So all the unused fields are together at the end, and important fields are still defined. I've only built pages once with it this way, but it worked. Picks, too. I'll see if it's still working in the morning. Too beat to work on it anymore tonight.
I swear, when I get this all straightened out I'll never, ever,
ever add another mod.
Yeah. Right.
Kathy