Hi Guys,
I am runnning different configs for htdig for each language a website
offers, in order to display the search-form and results in different
languages.
I have added some custom pulldowns to the htdig-config files, to give the
visitor the possibility to change between those configs.
This all works very well and I am very pleased with the outcome.
My Problem is:
--------------
I want to have a general Link in my Page called i.e. "Search" which leads to
the (Advanced) Search-Form.
I know the Link has to contain the value for config (like htdig_en,
htdig_fr, htdig_de), which is no problem, so the URL for my Search Link,
would be somewhat like: "/cgi-bin/htsearch?config=htdig_en".
But if I do not submit search words I will always get the nomatch.html
displayed, which contains my Advanced Search Form (like I want it) but also
the Information about 'no match found for ""' which is offcourse not what I
want. If 'words' is empty, I would just like to display the Form without any
nomatch-information. I do not want to make a static search-form for every
page and language I have created configs for, because if I update my
configs, ie. to inlcude another pulldown or whatever, i do not want to
change all these static-pages also.
I just want something like:
/cgi-bin/htsearch?config=htdig_en&nosearch=true
to just display the Searchform generated by htsearch based on ist config
without any other information.
How to achieve this ?
So far i could not find something about this in the documentation or
mailing-list, thats why i ask you people.
Also possible would be to define a "no_words" Template in the config, but i
couldnt find anything about this either.
--
Mit freundlichen Gruessen - Best Regards,
Ingo Buse
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general