|
11-17-2004, 11:44 PM | #1 |
Green Mole
Join Date: Nov 2004
Posts: 3
|
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
|
11-18-2004, 12:23 AM | #2 |
Orange Mole
Join Date: Sep 2004
Location: Nantes (44) FRANCE
Posts: 31
|
What can't you do really ? (bad english sorry)
--------------------------------------------- Qu'est-ce que tu n'arrives pas Ã* faire au juste ? |
11-18-2004, 10:52 AM | #3 |
Orange Mole
Join Date: Oct 2003
Location: NC, USA
Posts: 34
|
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.
__________________
Wayne Mcbryde http://LakeNormansWeb.com We search all of Lake Norman! |
11-19-2004, 06:19 AM | #4 |
Green Mole
Join Date: Nov 2004
Posts: 3
|
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? |
11-19-2004, 07:50 AM | #5 |
Orange Mole
Join Date: Oct 2003
Location: NC, USA
Posts: 34
|
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.
__________________
Wayne Mcbryde http://LakeNormansWeb.com We search all of Lake Norman! Last edited by Wayne McBryde; 11-19-2004 at 07:55 AM. |
11-22-2004, 02:53 AM | #6 |
Green Mole
Join Date: Nov 2004
Posts: 3
|
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?
|
11-22-2004, 05:45 AM | #7 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Set DISPLAY_DROPDOWN to false in the config file.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PhpDig can not finish indexing of my website | xiao | Bug Tracker | 2 | 12-10-2004 01:59 PM |
Insert phpdig | pbpub | How-to Forum | 6 | 07-15-2004 06:44 AM |
Insert PhpDig in a website | pbpub | Troubleshooting | 6 | 06-30-2004 05:26 AM |
10. Insert PhpDig in a website?? | andy_pandy | How-to Forum | 2 | 03-09-2004 10:00 AM |
inserting phpdig into a website | julius | How-to Forum | 4 | 12-30-2003 08:27 AM |