Re: [htdig] problem with template_map and template_name

Subject: Re: [htdig] problem with template_map and template_name
From: Gilles Detillieux (
Date: Tue Oct 31 2000 - 09:13:51 PST

According to jerome bagattin:
> Why htsearch won't change the output format?
> I can only use the builtin-short and builtin-long template.
> my config file look that:
> ...
> template_map: Long long builtin-long \
> Short short builtin-short \
> Simple simple ${common_dir}/simple.html
> template_name: Simple
> ...
> htsearch never take simple.html template?

Be aware that the CGI input parameter "format" from the search form will
override the value of template_name in your config file, if this input
parameter is specified. You should either remove the format parameter
from the search form if you don't want this to be user selectable, or
define it in the form such that the options that are available match
those in template_map's second field (the internal name) and set the
default there in the search form to be the one you want.

Gilles R. Detillieux              E-mail: <>
Spinal Cord Research Centre       WWW:
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig mailing list, send a message to You will receive a message to confirm this. List archives: <> FAQ: <>

This archive was generated by hypermail 2b28 : Tue Oct 31 2000 - 09:20:20 PST