According to Ronald Edward Petty:
> When you do a search, and say u have a custom form (all the trimmings
> set).  When you click to search, it calls the wrapper.html and uses that.
> However if you have lots of different layout looking forms they all look
> like the wrapper search form.  Is there a way to change this so it looks
> like the form u came from if you have more than one?  I dont see an option
> to set for this.

The only way to do this would be for the different initial custom
search forms to call htsearch with different values for the "config"
input parameter, and these config files could then select different
values for search_results_wrapper so you'd get different wrapper.html
files for the different config settings.

For example, the WCSN pages on our site have their own initial search
form, which contains the line:

  <input type="hidden" name="config" value="wcsn">

This makes htsearch use wcsn.conf, which begins by including the
main htdig.conf, and then it sets a few attributes specifically for
the WCSN subdirectories, including values for search_results_wrapper,
nothing_found_file and syntax_error_file, overriding any such settings
in htdig.conf.  I have similar setups for scrc.conf and physiology.conf.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to