[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Screen access logging
****** message to minivend-users from "kyle@invisio.com" <kyle@invisio.com> ******
Perhaps the following will help:
( I love user tags! )
# in catalog.cfg (MV3.11 but should still work):
# stores data in etc/yourfile.asc,
# or modify file and or path
UserTag log_it HasEndTag
UserTag log_it Interpolate
UserTag log_it Routine <<EOR
sub {
my ($stuff) = @_;
my @cols = split /\,/, $stuff;
logData ('etc/yourfile.asc', @cols);
}
EOR
Then on a page you can store whatever you want like:
[log_it interpolate=1][calc]$aff[/calc],[value name],text,etc[/log_it]
Kyle (KC)
At 12:11 PM 5/17/00 -0700, you wrote:
>****** message to minivend-users from Barry Treahy <Barry@BSTent.com>
>******
>
>> Thanks Joachim, that'll work...
>> > [tag arg="pages/log/logfile.log" op=log interpolate=1]
>> > Hi...user visit the page yxz !
>> > [/tag]
>
>Oops, nope... I can't get that syntax to work and when I use [tag log
>access.log] I cannot
>get the tags within the log tag to interpolate. I've tried adding and
>putting interpolate
>everywhere I can imagine and still no results. I see in the archives Cory
>had the same
>problems and I could not get the suggestions to work either.
>
>Rather than come to a halt, I did spot another usertag suggestion for
>logging to the global
>error log. I modified that to log to the catalog error.log and all seems ok
>except that I
>would like to be able to glean two additional pieces of information from the
>submitted
>form: mv_order_item and mv_order_quantity.
>
>I've placed varitions of this tag into the profile used on the order form,
>but the values
>always return null.
>
>[log_access message='quote-item: username:[value mv_username] item:[value
>mv_order_item]
>qty:[value mv_order_quantity] page:@@MV_PAGE@@]
>
>Any suggestions? Is this possible?
>
>Barry
>
>>
>> >
>> > It this what you want?
>> >
>> > Make sure, you have a directory pages/log or what you wish!
>> >
>> > Regards,
>> >
>> > Joachim
>> >
>> > --
>> > Hans-Joachim Leidinger
>> > buch online jojo@buchonline.net
>> > Munscheidstr. 14 FAX: +49 209 1671449
>> > 45886 Gelsenkirchen FAX: 0209 1671449
>> >
>> > -
>> > To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
>> > email with 'UNSUBSCRIBE minivend-users' in the body to
>Majordomo@minivend.com.
>> > Archive of past messages: http://www.minivend.com/minivend/minivend-list
>>
>> -
>> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
>> email with 'UNSUBSCRIBE minivend-users' in the body to
>Majordomo@minivend.com.
>> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list