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

links.def - Quick Question.

Quote Reply
links.def - Quick Question.
Hi,

In Links.def to allow select fields I added this and uploaded ( would it be easy to mod the template editor to edit defs as well? )

%db_select_fields = (
ReceiveMail => 'Yes,No',
isChanged => 'Yes,No',
isNew => 'Yes,No',
isPopular => 'Yes,No',
spacerange => '0MB-5MB,6MB-25MB,26MB-60MB,61MB-150MB,151MB-500MB,501MB-2GB,2.1GB-10GB,More',
transferrange => '0GB-1GB,1.1GB-5GB,5.1GB-10GB,10.1-50GB,More',
pricerange => '$0-$5,$6-$15,$16-$30,$31-$60,$61-$100,$101-$150,$151-$300,$301-$600,$601-$1200,More'
);

The questions is, I want to add check boxes for some other fields and I am not sure how to enter it. I tried...

%db_checkbox_fields = (
'msql',
'mysql'
);

Which are fields that I have added, but they doesn't work... any ideas? Thanks!
Quote Reply
Re: links.def - Quick Question. In reply to
It's Hash just like the selection list.

You need to use KEY =>value format to enter the values.


------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/