Restricting search to keyword

neilcreek

Joined: 2002-09-05
Posts: 52
Posted: Sat, 2002-10-05 13:07

Is it possible to restrict searching to just the keywords? I have more control over keywords than comments or captions, and it would allow me to tailor search results more accurately. Is is possible to limit the search?

Thanks

 
Gaile

Joined: 2002-07-20
Posts: 1301
Posted: Sat, 2002-10-05 17:47

Yes, just look in the search.php -- I'm still playing with the setup on mine, but I think I've got it so that only keyword searches show up.

Because I've already added other lines (meta tags, etc) to my search.php I can't give you exact line numbers, but look for the lines with $searchCaption, $searchComment, etc.

I found the ones I thought would do the trick and commented them out (using double slash //), and just played around til I got it working right. If I can do it...you should be able to (cuz I am REALLY new to this)! :lol:

Post if you have a problem, I'm sure between myself and the others that are here we can help.

Good luck!

 
neilcreek

Joined: 2002-09-05
Posts: 52
Posted: Sun, 2002-10-06 05:49

That did the trick!! Thanks a lot for the help :smile: