MiNdLeSs Posted April 18, 2005 Share Posted April 18, 2005 (edited) I'm using the autoindex php script and have search enabled. I'm wondering if it's possible to make a search page elsewhere on the site and when you search it will search using the autoindex search function. I noticed a search.php in the classes folder of autoindex, but thats it. Also, how would i change the colors to green and white? im kinda clueless about php Edited April 19, 2005 by MiNdLeSs Link to comment https://gtaforums.com/topic/188705-making-a-search-page/ Share on other sites More sharing options...
Samutz Posted April 18, 2005 Share Posted April 18, 2005 Just what is "the autoindex php script"? Link to comment https://gtaforums.com/topic/188705-making-a-search-page/?do=findComment&comment=2768558 Share on other sites More sharing options...
MiNdLeSs Posted April 19, 2005 Author Share Posted April 19, 2005 sorry for not being specific- http://autoindex.sourceforge.net/ Link to comment https://gtaforums.com/topic/188705-making-a-search-page/?do=findComment&comment=2769048 Share on other sites More sharing options...
Samutz Posted April 19, 2005 Share Posted April 19, 2005 Best I can tell is to just make a copy of the form (just html, no php required) and stick it on any page you want. <form method='get' action='/autoindex/index.php?'><p><input type='text' name='search' value='' /><input type='hidden' name='dir' value='' /><br /><select name='searchMode'><option value='f'>Files</option><option value='d'>Folders</option><option value='fd'>Both</option></select><input type='submit' value='Search' class="button" /></p></form> Here's an example: http://bluehydraro.hostnmore.com/samutz/search.html Just change '/autoindex/index.php?' if needed. Link to comment https://gtaforums.com/topic/188705-making-a-search-page/?do=findComment&comment=2769258 Share on other sites More sharing options...
MiNdLeSs Posted April 19, 2005 Author Share Posted April 19, 2005 thanks! that worked perfectly. for the colors would i edit the default.css? Link to comment https://gtaforums.com/topic/188705-making-a-search-page/?do=findComment&comment=2769786 Share on other sites More sharing options...
Samutz Posted April 19, 2005 Share Posted April 19, 2005 For the colors of the autoindex pages, yes. Or you can put them directly into the page via html. For the colors of the page with the extra search thing, you'd have to put them in directly, or add the code in the header that calls the css to be used. <link rel="stylesheet" href="stylesheet.css" type="text/css" title="AutoIndex Default" /> Link to comment https://gtaforums.com/topic/188705-making-a-search-page/?do=findComment&comment=2770169 Share on other sites More sharing options...
Recommended Posts