Hi,

Thu, 12 Sep 2002 13:31:45 -0500 (CDT) tarihinde Gilles Detillieux
<[EMAIL PROTECTED]> yazdi:

GD> How about a definition for the value of "the_variable"?  The allow_in_form
GD> attribute establishes a three-way relationship between a CGI input
GD> parameter, a cofig attribute, and a template variable.  So, when you
GD> tell it to use "the_variable" in this way, what happens is an input
GD> parameter like...
GD>   <input type="hidden" name="the_variable" value="myvalue">
I actually did. Seems I miss that part. 

I post it through the form and can see the value encoded in the results url.

GD> will set the config attribute the_variable to the value "myvalue",
GD> overriding any value that the_variable may have been given in the config
GD> file.  Then, in your template files, any use of $(THE_VARIABLE) will get
GD> replaced with the current value of the config attribute the_variable,
Does it have to be a predefined config attribute? Can't it be just any custom
defined variable?

I was actually trying to pass a variable of the web site, not of htdig.

                               Doruk

--
FISEK INSTITUTE - http://www.fisek.org


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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