PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 07-10-2004, 11:22 PM   #1
DawnMTeo
Green Mole
 
Join Date: Jul 2004
Posts: 1
Remove refine and dropdown menu

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.
DawnMTeo is offline   Reply With Quote
Old 07-11-2004, 07:05 AM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Welcome to the forum, DawnMTeo.

To get rid of the drop-down menu, find this code in includes/config.php:
PHP Code:
define('DISPLAY_DROPDOWN',true); 
and change it to:
PHP Code:
define('DISPLAY_DROPDOWN',false); 
As for a search based on directories, read this thread.

Hope this helps.
vinyl-junkie is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
spidering menu petra_itl Troubleshooting 0 05-15-2007 01:47 PM
Sort dropdown urls M_Saint How-to Forum 0 07-05-2006 09:06 PM
javascript menu not being spidered vuurvos Troubleshooting 1 10-05-2005 07:50 AM
indexing archives with links in pull-down menu... zertiko Troubleshooting 1 11-13-2004 12:52 PM
PhpDig spiders included menu: wrong results nicor Troubleshooting 3 03-25-2004 05:58 AM


All times are GMT -8. The time now is 05:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.