PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   inserting phpdig into a website (http://www.phpdig.net/forum/showthread.php?t=345)

julius 12-30-2003 06:55 AM

inserting phpdig into a website
 
I am looking to include the simple search box from search.php on each page of my site. I found the documentation to be a little over my head. Is there a more in-depth tutorial available outside of the documentation?

Thanks,

Steve

Charter 12-30-2003 07:11 AM

Hi. Perhaps this thread might help.

julius 12-30-2003 07:18 AM

That probably would have been my second question
 
Thanks for replying so quickly--

Actually my question is simpler than that one (I think):

Phpdig is running/indexing fine, I just want to be able to search from my home page instead of having to link to the search.php page.

In other words:
Is it possible to put the search interface say, at the foot of my existing home page?

Thanks,
Steve

Charter 12-30-2003 07:26 AM

Hi. Yes, just edit the CHANGE_ME so that it is http://www.yoursite.com/yourdirectory/search.php and place the HTML into your page.
Code:

<form action="CHANGE_ME/search.php" method="post">
  <table>
    <tr>
      <td><input name="query_string" type="text" size="35"></td>
      <td><input name="search" type="submit" value="Go"></td>
    </tr>
  </table>
</form>


julius 12-30-2003 07:27 AM

perfect, thank you
 
gracias.


All times are GMT -8. The time now is 05:14 PM.

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