According to Rick McCalla:
> If a specify and use a custom config file I can set these variables to 
> point to a specific html file:
> 
> search_results_header: /home/httpd/comspec/htd/header.html
> search_results_footer: /home/httpd/comspec/htd/footer.html
> 
> Would you know if I can also switch the location these html files are
> pulled from in a similiar manner?
> 
> nomatch.html
> syntax.html
> wrapper.html

Well, you could change the common_dir attribute, but then that would
affect all of these builtin default definitions (from htcommon/default.cc):

    {"bad_word_list",                   "${common_dir}/bad_words"},
    {"endings_affix_file",              "${common_dir}/english.aff"},
    {"endings_dictionary",              "${common_dir}/english.0"},
    {"endings_root2word_db",            "${common_dir}/root2word.db"},
    {"endings_word2root_db",            "${common_dir}/word2root.db"},
    {"nothing_found_file",              "${common_dir}/nomatch.html"},
    {"search_results_footer",           "${common_dir}/footer.html"},
    {"search_results_header",           "${common_dir}/header.html"},
    {"synonym_db",                      "${common_dir}/synonyms.db"},
    {"synonym_dictionary",              "${common_dir}/synonyms"},
    {"syntax_error_file",               "${common_dir}/syntax.html"},

It would make a lot of sense to define search_results_header,
search_results_footer, nothing_found_file, syntax_error_file (and
optionally, search_results_wrapper) as ${template_dir}/whatever.html and
then you could change them all by changing template_dir, but that's not
done by default right now.

-- 
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
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to