Thanks Gilles!
I'm new to the htdig, and you just saved my ass. :)

Yue


Gilles Detillieux wrote:

> According to YueMa:
> > If I want to let htdig recognize user-defined CGI parameter(passed by
> > GET method), which source file should I modify?
>
> In many cases, you can avoid source code modifications by using the
> allow_in_form attribute to define which CGI input parameters can be used
> to override config attributes of the same name.  (These don't need to
> be existing attribute names, you can add your own, and reference them
> in other config attributes, or in the templates.)
>
> If that still doesn't quite do what you need, usually you can get
> away with just modifying one or both of htsearch/htsearch.cc and
> htsearch/Display.cc to and the handling code you need.  Just look for
> examples of how exisiting input parameters are handled, and you can use
> these as a model for what features you want to add.
>
> Also have a look at build_select_lists if you're interested in dealing
> with select lists.
>
> http://www.htdig.org/attrs.html#allow_in_form
> http://www.htdig.org/attrs.html#build_select_lists
>
> --
> 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
>
> _______________________________________________
> htdig-general mailing list <[EMAIL PROTECTED]>
> To unsubscribe, send a message to <[EMAIL PROTECTED]> with 
>a subject of unsubscribe
> FAQ: http://htdig.sourceforge.net/FAQ.html


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to