PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Un restrict to sub directories (http://www.phpdig.net/forum/showthread.php?t=1499)

gooseman 11-06-2004 08:27 AM

Un restrict to sub directories
 
Hi,

Once I've entered a search term, I get the result page. If I wish to do a new search (entered in the results page form box), it is restricted to the directory of the of the site. I have to go to "Select a site to search" and change it to the root dir. How do I stop it doing that?

If that's not clear, the options in "Select a site to search" include:

http://www.mysite.com/somedir/someotherdir
http://www.mysite.com/somedir/
http://www.mysite.com/someotherdir/
http://www.mysite.com/

and it defaults to the top one, which isn't intuitive.

gooseman 11-11-2004 01:22 PM

Hi - Just wondering if there is a way round this issue? I set

define('DISPLAY_DROPDOWN',false);
define('DROPDOWN_URLS',false);

both to false, but it still defaults to searching a sub directory of my site once you have done the first search.

Thanks in advance for any advice

gooseman 11-11-2004 03:32 PM

Whoops - Looks like an error in my code. Setting both to false fixed it. Sorry!


All times are GMT -8. The time now is 01:20 AM.

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