steve45king
04-25-2004, 02:26 AM
Hi there!
I installed phpdig in a directory named "search", so all related phpdig files are stored there.
on the mainpage of my website there is a searchbox with the following form action and input tags:
form action="search/search.php" method='get'
input type='hidden' name='template_demo' value=""
input type='hidden' name='site' value=''
input type='hidden' name='path' value=''
input type='hidden' name='result_page' value=""
how can i use these field to use a template (lets say searchresults.htm) file located in the root?
Next problem is, that all links at the resultpage are "converted" to the "search"-directory:
eg:
http://mydomain.com/site.html
is changed to
http://mydomain.com/search/site.html
What is the workaround for this?
thanx!!!
I installed phpdig in a directory named "search", so all related phpdig files are stored there.
on the mainpage of my website there is a searchbox with the following form action and input tags:
form action="search/search.php" method='get'
input type='hidden' name='template_demo' value=""
input type='hidden' name='site' value=''
input type='hidden' name='path' value=''
input type='hidden' name='result_page' value=""
how can i use these field to use a template (lets say searchresults.htm) file located in the root?
Next problem is, that all links at the resultpage are "converted" to the "search"-directory:
eg:
http://mydomain.com/site.html
is changed to
http://mydomain.com/search/site.html
What is the workaround for this?
thanx!!!