PDA

View Full Version : Remove refine and dropdown menu


DawnMTeo
07-10-2004, 10:22 PM
I don't want users to see the dropdown menu asking them which site to search. I want it to automatically search the website that they're on based on a hidden variable or what-not.

I also do not want to give users the option to refine their search based on directories. We have a lot of newbie computer users on our site, and it confuses them.

How can I remove these two features and JUST have a search-text-field and a search-button?

...I tried just removing the line in the template for the dropdown, but then the script didn't know which site to search and came up with 0 results on searches.

vinyl-junkie
07-11-2004, 06:05 AM
Welcome to the forum, DawnMTeo. :D

To get rid of the drop-down menu, find this code in includes/config.php:define('DISPLAY_DROPDOWN',true);and change it to: define('DISPLAY_DROPDOWN',false);
As for a search based on directories, read this thread (http://www.phpdig.net/showthread.php?s=&threadid=363&highlight=directory).

Hope this helps. :)