[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] bug report - cart functions and mv_click_map
****** message to minivend-users from Nathan ZYLBERSZTEJN <zyloo@zylooplanet.net> ******
Hi all,
I already submit one message about this bug but I can now describe it more
precisely. I have spent a lot of time on it and I don't think the fault
comes from my code. This occurs when calling a cart function (save_cart
,get_cart or delete_cart) by submitting a form with an image:
<form action="[process-target]" method="POST">
[set get]
[userdb function=get_cart nickname="the_cart_you_want"]
[/set]
<input type="hidden" name="mv_click_map" value="get">
<input type="image" src="get.gif" name="mv_click.get">
</form>
The problem is that you have to submit it twice in order to let MV know the
name of the cart you want. If you want to get your cart using checkboxes or
radios, you'll get the cart you selected before: if you select first cart1
you won't get anything. If you select cart 2, you will get the cart1, ...
I use mv_click_map in all my pages and it is the only problem I had.
The same kind of problem occurs with [setlocale...]and [L][/L]: You have to
reload twice to page to get the effect of setlocale. Curiously it works at
the first time using [loc][/loc]
Please reply if you met this problem or if you're using images with cart
functions
Nathan
ZylooPlaNet @ http://www.zylooplanet.net
- free business webhosting
- free CGI directory
- free POP accounts
79 rue G.STOCQ
1050 BRUSSELS / BELGIUM
phone fax :+32 (0) 2 646 77 46
Nathan ZYLBERSZTEJN
mobile : +32 (0) 75 97 91 72
-
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