{docurl}
How do I make the Login screen compatible with the Order Status Manager (http://vikingcoders.com/go.mv?ID=BROK_ORDERSTATUS) and Order Status - Login (http://vikingcoders.com/go.mv?ID=BROK_ORDERLOGIN)?
(2004/01/07)Several simple modifications need to be made to the "Account Login" template:
Somewhere between the %beginform|customerlogin|% and %endform% tokens place:
for compatibility with Order Status Manager:
%begin_if|g.ScreenStatus|%
<input type="hidden" name="OrderScreen" value="STATUS">
%end_if%
for compatibility with Order Stauts Login:
%begin_if|g.FromLogin|%
<INPUT TYPE="hidden" NAME="OrderScreen" VALUE="STATUS">
<INPUT TYPE="hidden" NAME="FromLogin" VALUE="1">
%end_if%
Also, the "create an account" link needs to be suppressed for modules. Place the conditional (for compatibility for both modules):
%begin_notif|g.ScreenStatus OR g.FromLogin|%
**link here**
%end_notif%
around the link itself, so it might look like this:
%begin_notif|g.ScreenStatus OR g.FromLogin|%
<FONT FACE="Arial,Helvetica" SIZE="-1">
<A HREF="%newaccounturl%">Create New Account</A><BR></FONT>
%end_notif%
If you have already added this conditional for other modules, for example the Affiliate Manager, then you would simply add:
OR g.ScreenStatus OR g.FromLogin to the conditional, so it might look like:
%begin_notif|g.ScreenAffil OR g.ScreenStatus OR g.FromLogin|%
<FONT FACE="Arial,Helvetica" SIZE="-1">
<A HREF="%newaccounturl%">Create New Account</A><BR></FONT>
%end_notif%
That's it.
In addition, If you want to conditionally display the "login header" for the Order Status Manager, then place this near the current %logn_hdr% token (assumes that the Order Status Manager is registered as a "third party module" with the token BROK_ORDERSTATUS):
%begin_if|g.ScreenStatus|%
%module|BROK_ORDERSTATUS|LOGN_header|%
%end_if%
To make sure that the %logn_hdr% token does not display for the login page if the person is logging in to view their order status then surround the %logn_hdr% token so that it looks like:
%begin_notif|g.ScreenStatus|%
%logn_hdr%
%end_if%
Similarly, you can display the footer with:
%begin_if|g.ScreenStatus|%
%module|BROK_ORDERSTATUS|LOGN_footer|%
%end_if%
To make sure that the %logn_ftr% token does not display for the login page if the person is logging in to view their order status then surround the %logn_ftr% token so that it looks like:
%begin_notif|g.ScreenStatus|%
%logn_ftr%
%end_if%
As with the above example, if you have already added this conditional for some other module, then you can simply add the:
OR g.ScreenStatus
to it. For example:
%begin_notif|g.ScreenAffil OR g.ScreenStatus|%
%logn_hdr%
%end_if%
Last update: 2004-12-10 09:51
Author: Support
Revision: 1.0
You cannot comment on this entry
Records in this category
- The total on my checkout pages are not correct. Why?
- How do I display the "thank you" message on the invoice page?
- On the basket pages I would like to display the total w/ the shipping included but NOT with the tax included. Is this possible?
- Is there a way to "Limit" the number of characters that can be entered into the "address" or any other field of the ACNT and OINF pages?
- What are the tokens for displaying the basket attributes?
- Hello, I am using the Affiliate Login module and the other page templates module. How do I get the affilate LOGN_header to show up for the login included in the other page templates module?
- How do I modify the Custer Login screen so that the customer is redirected to the Account screen rather than the storefront?
- The footer of my basket page has %OUI% in it and various OpenUI tokens. However, when I display it on the Other Page Templates generated basket page with the %bask_ftr% token, the %OUI% and other OpenUI tokens show in the page. How do I fix this?
- I'm using the %baskettotalallF% token on the OSEL screen but it is not displaying the correct total. Why?
- How do I consolidate the checkout screens so that the "shipping and billing selection" lists are on the "Customer Information" page?
- I'm designing checkout with OPT, and am wondering if there's any way to get the %prompt_foo% tokens to render different text? I don't want to simply replace them with HTML as I'd still like the form validation to work correctly (unfilled required fields appearing in red).
- I'm running into problems in that some of my tokens are not being processed correctly. For example, I'm trying to do this:%begin_if|%module|modcode:position%|%...%end_if%but it just generates errors or the %module simply shows up on the page. What could be wrong?
- Can I display the "related products" of the products in the basket in a single listing?
- Is it possible to display a "checkout" link on the basket page?
- Is it possible to display a "continue shopping" link on the basket page?
- How do I make the "Account Login" screen compatible with other modules such as the Order Status Manager and Affiliate Manager?
- The %logn_hdr% does not display the correct header when the customer is logging out.
- The "Missing Attributes" screen is acting like the Product Listing screen! Help!?
- How do I display the attributes in the basket?
- How can I display a "checkout" link on the basket page which points to the correct screen depending on whether or not the customer is logged in?
- I'm using the Affiliate Manager (http://vikingcoders.com/go.mv?ID=BROK_PAGETEMPLATES) and I would like to display the "Login Header", "Login Footer", "Account Header", and "Account Footer" on the customer login and account pages for affiliates signing up to be affiliates. How do I do this?
- How do I make the checkout screens compatible with the Gift Certificate Manager (http://vikingcoders.com/go.mv?ID=BROK_CERTIFICATES)?
- How do I make the Customer Account screen compatible with List Manager?
- How do I make the Login screen compatible with the Order Status Manager (http://vikingcoders.com/go.mv?ID=BROK_ORDERSTATUS) and Order Status - Login (http://vikingcoders.com/go.mv?ID=BROK_ORDERLOGIN)?
- How do I make the module compatible with the List Manager (http://vikingcoders.com/go.mv?ID=BROK_WISHLIST) module?
- 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)?
- How do I set the time zone so that the %time% and %date% tokens reflect the time zone of my store and not my server?
- Displaying the product price + attribute price in the basket














