When you logout of your account Miva also redirects you to the Store Front
screen just like when you logged in, so isn't there additional code needed
for this too?
Rudy
----- Original Message -----
From: Bill Guindon <[email protected]>
To: Valeria Vizenberg <[email protected]>
Cc: Miva Merchant List <[email protected]>
Sent: Thursday, August 29, 2002 3:28 PM
Subject: Re: [mru] redirecting to a specific page after login
> Let's get this back on the right list...
>
> Valeria Vizenberg wrote:
> >
> > we have a miva-based store. when you log in, it redirects you to a page
with
> > its contents specified as a "store front welcome", but the page still
> > follows the layout template for the whole miva store. we would like to
be
> > able to redirect users to a page we specify (that is not a part of a
whole
> > miva store) after they log in, and not to the "store front" page
>
> In 'UIModule_Dispatch', you need to replace this:
> <MvIF EXPR = "{ g.Screen EQ 'SFNT' }">
> <MvASSIGN NAME = "l.ok" VALUE = "{ MMUI_StoreFront() }">
> </MvIF>
>
> With this:
> <MvIF EXPR = "{ g.Screen EQ 'SFNT' }">
> <MvIF EXPR="{g.Action EQ 'LOGN'}">
> <MvDO FILE="{g.module_root_versionless $ 'staticpage.htm'}">
> <MvASSIGN NAME="l.ok" VALUE="1">
> <MvELSE>
> <MvASSIGN NAME = "l.ok" VALUE = "{ MMUI_StoreFront() }">
> </MvIF>
> </MvIF>
>
> In the example above, 'staticpage.htm' is expected to be in the store's
> dir (usually 'Merchant2'). If it's somewhere else, you could call it
> using a relative path:
> <MvDO FILE="{'../pages/staticpage.htm'}">
>
> Shouldn't take much to convert that to OUI.
>
>
> --
> Bill Guindon [email protected]
> Simian Sites (877) 715-4815
> <A HREF ="http://www.simiansites.com (609) 624-3874">http://www.simiansites.com (609) 624-3874</A>
>
Comment