PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   How do I Insert PhpDig in a website (http://www.phpdig.net/forum/showthread.php?t=1531)

eric_gitonga 11-17-2004 10:44 PM

How do I Insert PhpDig in a website
 
Can someone please tell me how to Insert Phpdig in a website. I have no idea on how to do it and the manual is not making sence

mleray 11-17-2004 11:23 PM

What can't you do really ? (bad english sorry)
---------------------------------------------
Qu'est-ce que tu n'arrives pas Ã* faire au juste ?

Wayne McBryde 11-18-2004 09:52 AM

This is a sniplet of code that I use at the top of my pages for the search box.

**************************
<form action='http://mydomainhere.com/myphpdigfolderhere/search.php' method='GET'>
<input type='hidden' name='template_demo' value='./templates/simple.html'/>
<input type='hidden' name='site' value='0'/>
<input type='hidden' name='path' value=''/>
<input type='hidden' name='result_page' value='index.php'/>
<input type='text' class='phpdiginputtext' name='query_string' value='' size="20"/>
<input type='submit' class='phpdiginputsubmit' name='search' value='Search'/>
</form>

**************************
The real page is at http://LakeNormansWeb.com
The code is inside a table to keep things aligned.

eric_gitonga 11-19-2004 05:19 AM

Thanks Wayne! I used the code you gave me and it worked perfectly.
How do I modify my result page to display only the search box without diplaying the "Narrow Path to Search" box?

Wayne McBryde 11-19-2004 06:50 AM

Open The template page you are using (i use simple.html) and delete the parts you don't want. Be sure to save a copy of the file before you start just in case you delete too much.

eric_gitonga 11-22-2004 01:53 AM

It worked perfectly but when I delete the "Select a site to search:" on a Linux environment I can not be able to do my search. What could be the reason for this?

Charter 11-22-2004 04:45 AM

Set DISPLAY_DROPDOWN to false in the config file.


All times are GMT -8. The time now is 09:45 AM.

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