PDA

View Full Version : Excluding a category in a search


jgsketch
04-07-2006, 02:02 PM
Don't know if it can be done, but I have a category that I do not wish my visitors to serch in. Is there a way to exclude this category within a search? Thanks.

anon
04-07-2006, 02:29 PM
is it viewable at all?

if no, just modify sql select with an: AND `ID` NOT =12345 (whatever your id is for that particular category

jgsketch
04-07-2006, 03:37 PM
Thanks for the reply. I do have the category already showing in my directory. I can't seem to find where to put that code. I think I found it in the index.php file.
Content visible to registered users only.
I'm not familar with PHP that much, is this the right line to add the code? Thanks.

jgsketch
04-10-2006, 01:18 PM
Can anyone tell me where to place the SQL select code from above? Thanks.

bobby9101
04-10-2006, 09:52 PM
in top_bar.tpl