Subject: Re: AW: [htdig] Template_map: example
From: Gilles Detillieux (firstname.lastname@example.org)
Date: Fri Jan 14 2000 - 11:16:32 PST
According to "Stein, Thomas (AGLW)":
> I had a problem as I used the .htm extension instead of the .html. I couln't
> get it to accept those template files even I have changed them in the
> htdig.conf correctly. I had to move those template files to .html again and
> it worked perfectly (it applyed for footer.html, header.html and the other
> files in the common directory). A bug ?
A misconfiguration, perhaps? There is nothing in the code to prevent
you from using any filename extension you want for template files.
It doesn't even look at the filenames, but just passes them on to fopen().
I just tried the following attributes and they worked fine:
Of course, I could have used search_results_wrapper instead of
search_results_header and search_results_footer. Note that if
search_results_wrapper is set, it overrides the separate header
and footer, as long as the wrapper file is readable.
-- 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 - 11:17:23 PST