I've been looking for a search mod that will return all matches in the database, including links under AltCategories. At the moment, the search comes back only with the link in the main category. My AltCats mod worked well, and it's all going fine, but I'd like to see all categories the returned link is classified under.
I found Jeffo's mod post, but I can't find where in search.cgi his mod goes.
if ($in{'category'} && $in{'category'} ne "All") {
($values[$db_category] =~ /^$in{'category'}/) || ($values[$db_alt] =~ /$in{'category'}/) or next LINE;
}
#JefMod end
The referenced post Steal refers to isn't much help either. There's no clear indication of where the mod goes.
I also found the original mod post, curtesy of Widgetz, but the downloadable text files are no longer available.
I've been going in circles around the same few interlinked topics, and a search doesn't come up with anything new. Maybe I'm missing something, but I was wondering if anybody has any clue on where I need to place this mod? Or if someone still has a copy of the original text file that Widgetz had that I could get off of them to work it out myself?
Any help is appreciated.
I found Jeffo's mod post, but I can't find where in search.cgi his mod goes.
Code:
#JefMod added search in category plus subs AND NOW ALT if ($in{'category'} && $in{'category'} ne "All") {
($values[$db_category] =~ /^$in{'category'}/) || ($values[$db_alt] =~ /$in{'category'}/) or next LINE;
}
#JefMod end
The referenced post Steal refers to isn't much help either. There's no clear indication of where the mod goes.
I also found the original mod post, curtesy of Widgetz, but the downloadable text files are no longer available.
I've been going in circles around the same few interlinked topics, and a search doesn't come up with anything new. Maybe I'm missing something, but I was wondering if anybody has any clue on where I need to place this mod? Or if someone still has a copy of the original text file that Widgetz had that I could get off of them to work it out myself?
Any help is appreciated.