[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] search log
> Chris,
>
> It's easy. Use the [log] tag in your results page to log whatever you
> wish. The search string is in mv_searchspec.
>
> http://www.interchange.rtfm.info/docs/rtfm_ictags.html
>
> Here is an example of how I export the header record of each order to a
> flat file in etc/receipt.html:
>
> [log hide=1 create=1 interpolate=1 file="orders/[value
> mv_order_number].txt"]
> [value mv_order_number] [value order_date] [value order_time]
> [value order_custnum] [value order_shipto] [value email] [value
> fname] [value lname] [value phone_day] [value order_destcode]
> [value order_pou] [value charge_to_acct]
> [/log]
I have a special results page for searches called search-results.html. I
added the following line to it:
[log hide=1 file="logs/search.txt" interpolate=1][value mv_searchspec][/log]
In the log file I get:
ARRAY(0x93aad34)
I tried little changes to my code but from what I read in the docs, this
should be good??
Anyone?
Chris Slaght