[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] input type submit and image (New Usertag)
****** message to minivend-users from "Cameron B. Prince" <cameron@akopia.com> ******
I suppose I should have mentioned you can back port this to minivend...
sorry...
Cameron
-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Cameron B. Prince
Sent: Friday, October 06, 2000 1:30 PM
To: minivend-users@minivend.com
Subject: RE: [mv] input type submit and image (New Usertag)
****** message to minivend-users from "Cameron B. Prince"
<cameron@akopia.com> ******
Hi,
If you are using Interchange, you will find a new usertag called button in
your interchange/usertag directory.
The syntax is as follows:
[button
text="Log In"
src="http://demo.minivend.com/~construct/images/navigation/blue_log_in_butto
n.gif"
hidetext=1
form=login
]
[if session logged_in]
mv_nextpage=index
[else]
mv_nextpage=login
[/else]
[/if]
[/button]
More documentation can be found in the usertag itself. Be sure to add
name=something to your form statement and make sure form= is set to same
something in the call to the usertag. I had trouble trying to let it use the
default form[0].
Good luck,
Cameron
-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Ramsey French
Sent: Friday, October 06, 2000 12:30 PM
To: minivend-users@minivend.com
Subject: Re: [mv] input type submit and image
****** message to minivend-users from Ramsey French <rammjet@mac.com>
******
> From: Sebastian Wain <swain@helicoid.com>
>
> ****** message to minivend-users from Sebastian Wain
<swain@helicoid.com>
> ******
>
> Hi,
>
> I read the same question in the list, I have the same problem and I don't
find
> how to correct it.
>
> I supposed the <input type="submit" .....> and <input type="image".....>
has
> the same effects, but I have a checkout button
> in my cart, and it's not the same.
>
> I have this in my cart:
> --------------------------------------------------------------------------
----
> -------------------------------------
> <form method="post" action="[process-target secure=1]">
> <!--------------------------------------------- Hidden Vars
> ---------------------------------------------->
> <input type="hidden" name="mv_session_id" value="[data session id]">
> <input type="hidden" name="mv_doit" value="refresh">
> <input type="hidden" name="mv_order_page" value="index.html">
> <input type="hidden" name="mv_checkout" value="ord/checkout">
> <input type="hidden" name="mv_nextpage" value="index.html">
> <input type="hidden" name="mv_todo.checkout" value="ord/checkout">
>
<!--------------------------------------------------------------------------
--
> ---------------------------->
> .
> .
> .
> <input type="image" border="0" name="mv_click" value="Check out"
> src="/images/cart/checkout.gif" width="91" height="24">
> .
> .
> .
> [set Check out]
Can a scratch variable be two words? Shouldn't it be "[set Check_out]" and
likewise "<input type="image" border="0" name="mv_click" value="Check_out"
src="/images/cart/checkout.gif" width="91" height="24">" ?
> mv_todo=return
> mv_nextpage=ord/checkout
> [/set]
> --------------------------------------------------------------------------
----
> -----------------------------------
>
> Thank You
> Sebastian Wain
-
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