Miva Merchant 4 Module FAQs » Other Page Templates (BROK_PAGETEMPLATES)


{docurl}

How do I make the Login screen compatible with the Affiliate Manager (http://vikingcoders.com/go.mv?ID=BROK_AFFILIATES) and Affiliate Manager- Login (http://vikingcoders.com/go.mv?ID=BROK_AFFILATELOGIN)?


(2003/12/03)Several simple modifications need to be made to the "Account Login" template:

Somewhere between the %beginform|customerlogin|% and %endform% tokens place:

for compatibility with Affiliate Manager:

%begin_if|g.ScreenAffil|%
<INPUT TYPE="hidden" NAME="AffilScreen" VALUE="NEWAFFIL">
%end_if%

for compatibility with Affiliate ManagerLogin:

%begin_if|g.AffilLogin|%
<INPUT TYPE="hidden" NAME="AffilLogin" VALUE="AFFILACNT">
%end_if%

Also, the "create an account" link needs to be replaced for the Affiliate Manager module and suppressed for the Affilaite Manager Login module.

Immediately above the "Create an account" link in the template, place, for compatibility with Affiliate Manager:

%begin_if|g.ScreenAffil|%
<FONT FACE="Arial,Helvetica" SIZE="-1">
<A HREF="%var|g.secure_sessionurl|%Screen=ACNT&Order=&Store_Code=%var|Stores.d.code|%&ScreenAffil=NEWAFFIL">Creat New Account</A><BR>
</FONT>
%end_if%

And place the conditional (for compatibility for both modules):

%begin_notif|g.ScreenAffil OR g.AffilLogin|%
**link here**
%end_notif%

around the link itself, so it might look like this:

%begin_notif|g.ScreenAffil OR g.AffilLogin|%
<FONT FACE="Arial,Helvetica" SIZE="-1">
<A HREF="%newaccounturl%">Create New Account</A><BR></FONT>
%end_notif%



Last update: 2004-12-10 09:52
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category