Gossamer Forum
Home : Products : Links 2.0 : Customization :

widget search...

Quote Reply
widget search...
Well thanks Elliot i added the category to my search, but now (very simple) i would like to add other fileds that are in my links.def

I have a field called Type. I added this code right under the widget code in search.cgi

Code:
if ($in{'Type'} && $in{'Type'} ne "All") {
($values[$db_Type] =~ /^$in{'Type'}/) or next LINE;
}

I also added $db_Type = 3; in link.def under

Code:
# Field Number of some important fields. The number is from %db_def above
# where the first field equals 0.

I basically tried to do the exact same as for the category but i think im missing something. Anyone have any ideas?

Thanks in advanced!
Subject Author Views Date
Thread widget search... websolve 1287 Apr 12, 2000, 4:15 AM
Post Re: widget search...
Stealth 1226 Apr 12, 2000, 4:42 AM
Post Re: widget search...
websolve 1230 Apr 12, 2000, 5:07 AM
Post Re: widget search...
Stealth 1224 Apr 12, 2000, 5:15 AM
Post Re: widget search...
websolve 1229 Apr 12, 2000, 5:27 AM
Post Re: widget search...
Stealth 1243 Apr 12, 2000, 5:33 AM
Post Re: widget search...
websolve 1225 Apr 12, 2000, 6:14 AM