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
($values[$db_Type] =~ /^$in{'Type'}/) or next LINE;
}
I also added $db_Type = 3; in link.def under
# 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!
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!