Subject: Re: [htdig] Adding TARGET=_blank to each results set link
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Fri Jan 14 2000 - 08:35:11 PST
According to Rodger Zeisler:
> I tried leaving the builtin-long as the internal name a replacing the
> template name with the file name, but that didn't work. It appeared to
> ignore the template.html file. After I changed the internal name to
> target-long and changed the default template_name to the same, it all
Yes, this a long-standing discrepancy between the documentation and code
for htsearch. The documentation says if the filename is builtin-long or
builtin-short, the predefined template will be used. The htsearch code
acutally checks the internal name (2nd field), rather than the file name
(3rd field). In practise, you should set both or neither to be assured
it will work. I suspect that one day, the code will fall in line with
the documentation, which is the more logical of the two approaches.
Note that when you change the internal names in your template_map and
template_name attributes, you should also change them in your initial
search form (search.html).
-- Gilles R. Detillieux E-mail: <email@example.com> 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
------------------------------------ To unsubscribe from the htdig mailing list, send a message to firstname.lastname@example.org You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Fri Jan 14 2000 - 08:35:28 PST