Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Login Return Page...



******    message to minivend-users from Shawn Butler - Blue Planet Corp <postmaster@thetechpage.com>     ******

This example still hard codes the return page. I want to go
back to the original page you logged in at. (product page,
checkout, anypage)

> [set Login]
> mv_arg0=function
> mv_subroutine=userdb
> [/set]
>     <FORM ACTION="[process-target]" METHOD=POST>
>     <INPUT TYPE=hidden NAME=mv_click VALUE=Login>
>     <INPUT TYPE=hidden NAME=mv_doit  VALUE=return>
>     <INPUT TYPE=hidden NAME=function  VALUE=new_account>
>     <INPUT TYPE=hidden NAME=mv_nextpage VALUE=new_account>
>         Username[/L]<INPUT NAME=mv_username VALUE="[value mv_username]" IZE=10>
>         Password[/L]<INPUT TYPE=password NAME=mv_password VALUE="" SIZE=10>
>         Verify[/L]<INPUT TYPE=password
>             onChange="document.forms[0].submit()"
>             NAME=mv_verify VALUE="" SIZE=10>
>     <INPUT TYPE=image SRC="icon/login.gif" BORDER=0 NAME="Login"></TD></TR>
>         </FORM>
> 


This would probably work, but I have too many possible return
pages to have "if" statements.

> [set NewAccount]
> [if type=explicit compare="[userdb new_account]"]
> mv_nextpage=account
> [else]
> mv_nextpage=new_account
> [/else]
> [/if]
> [/set]


Has anyone else been able to set the return page from a login
or logout to the previous page? I am using MV4

Thanks, Shawn




-
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


Search for: Match: Format: Sort by: