![]() |
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
|
What can't you do really ? (bad english sorry)
--------------------------------------------- Qu'est-ce que tu n'arrives pas Ã* faire au juste ? |
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. |
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? |
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.
|
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?
|
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.