[ic] Quick and dirty "write to file"

Rick Bragg lists at gmnet.net
Tue Sep 28 18:32:41 UTC 2010


On Tue, 2010-09-28 at 14:10 -0400, Peter N wrote:
> And a followup question: I have the following code snippet:
> 
> [if cgi add_to_list]
>  [log file="email_list.txt" type="text" interpolate=1]
>   [cgi email]
>  [/log]
> [/if]
> 
> Where do I need to place this code so that it is invoked on checkout?
> I tried putting it on receipt.html, but nothing is written to the log,
> presumably because my form variable, add_to_list, is not being passed
> from checkout.html.
> 
> Thank you again,
> 
> Peter

it should be in etc/log_transaction

rick







More information about the interchange-users mailing list