On Sat, 4 Mar 2006, DataparkSearchForum wrote:
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Maxime
Subject: Re: search.htm always being called...
It seems you have missed to add $(ul) meta-variable into you form in your
search_uu.htm
Try to add
<input type="hidden" name="ul" value="$(ul)">
somewhere between <form> and </form> tags.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;topic_id=1141421696
Same problem.
I've added this to the search_uu.htm template.
<FORM METHOD=GET ACTION="$(Self)">
<table bgcolor=#EEEEEE border=0>
<TR>
<TD>Search for:</TD>
<TD COLSPAN=5>
<INPUT TYPE="text" NAME="q" VALUE="$&(q)" SIZE=50 >
<input type="hidden" name="ul" value="$(ul)">
<INPUT TYPE="submit" NAME="cmd" VALUE="Search!">
<INPUT TYPE="hidden" NAMe="form" VALUE="extended">
<small><a href="$(self)">Simple mode</a></small>
</TD>
</TR>
in both forms, but I am still getting out of the domain results.
When I click the submit button on the main page, I get the search page
with this url:
http://www.uucheyenne.org/search_uu.cgi?q=waelti&ul=uucheyenne&Submit=Submit
When I click submit again, I get this url:
http://www.uucheyenne.org/search_uu.cgi?q=waelti&cmd=Search%21
Do I need to set the ul variable manually in the first part of
search_uu.htm?
Thanks for the prompt reply!
Jeff