PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 11-17-2004, 11:44 PM   #1
eric_gitonga
Green Mole
 
Join Date: Nov 2004
Posts: 3
Question 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
eric_gitonga is offline   Reply With Quote
Old 11-18-2004, 12:23 AM   #2
mleray
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 ?
mleray is offline   Reply With Quote
Old 11-18-2004, 10:52 AM   #3
Wayne McBryde
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!
Wayne McBryde is offline   Reply With Quote
Old 11-19-2004, 06:19 AM   #4
eric_gitonga
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?
eric_gitonga is offline   Reply With Quote
Old 11-19-2004, 07:50 AM   #5
Wayne McBryde
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.
Wayne McBryde is offline   Reply With Quote
Old 11-22-2004, 02:53 AM   #6
eric_gitonga
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?
eric_gitonga is offline   Reply With Quote
Old 11-22-2004, 05:45 AM   #7
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


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


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