[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] Forcing new shipping selection
****** message to minivend-users from "Glen and Rosanne Eustace" <agree@godzone.net.nz> ******
The suggestion posted by Chris is right on the button, but I can not
seem to get MV to execute my User Tag.
I changed the select to be
<SELECT MV=loop MV.ARG="[GetShippingCode
items='[nitems]' country='[value country]'
]"
MV.OPTION="mv_shipmode"
onChange="this.form.submit()"
NAME="mv_shipmode"
and defined my UserTag in catalog.cfg as
UserTag GetShippingCode InsideHTML
UserTag GetShippingCode Order items country
UserTag GetShippingCode Routine <<EOR
sub {
my ($items, $country) = @_;
return('aaa bbb ccc' );
}
EOR
I have restarted MV several times, to no avail. I know it is being read
in as the first time I restarted, I had missed the 'space' bewteen < and
EOR and that caused a sytax error that was reported in
miniven/error.log. The resulting HTML is constructed from MV splitting
up my UserTag. i.e.
I get an <OPTION ...> for each of [GetShippingCode, items='3',
country='NZ' and ']'.
What is happening ? Why isn't my UserTag being executed ?
Thanks.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Glen Eustace, on behalf of
GodZone Internet Services, a division of AGRE Enterprises Limited.
P.O. Box 8020, Palmerston North, New Zealand
Ph: +64 6 356 2562, Fax: +64 6 357 0271, Mobile: 021 424 015,
http://WWW.GodZone.Net.NZ
-
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