eConstruct ver. 5.0 documentation
For help or questions, please call 1-877-493-2832 or visit us at http://www.cf-acs.com
TAG NAME: CF_eConstruct_MEMBERS
DESCRIPTION: A custom tag, which 3 separate functions in providing membership capabilities to a an eConstruct storefront. Members will receive discounts in the form of wholesale prices. This tag provides a way to signup for membership, authenticate members signing on to the system, and logout members who are signed on.
SYNTAX:
<cf_eConstruct_members
[username=""]
[password=""]
[task="[signup|authenticate|logout]"]
[border=""]
[borderBgColor=""]
[tableBgColor=""]
[altRowBgColor=""]
[msg=""]
>
DEFAULTS:
username=""
password=""
task="signup"
border = "No"
borderBgColor = "white"
tableBgColor = "White"
tableTHBgColor = "Silver"
altRowBgColor = "[same as the tableBgColor]"
msg = "You made a great choice. Your just moments away to great savings. Your personal information is safe with us. ##companyName## maintains strict confidentiality on our member personal information. Your email and number will not be given or sold to third party companies."
NOTES:
Colors may be entered as named colors (ie. Black, White, etc.) or Hexadecimals. Make sure to use double pounds when entering colors hexadecimal (ie. ##FFFFFF)
ATTRIBUTES:
TASK - Optional. Default is "Signup". Possible values are "signup", "authenticate" or "logout". Instructs the tag to perform a certain task or action. The value "signup", will display a membership signup form. The values "authenticate" and "logout" are self explanatory. If task is 'Authenticate' and user was successfully authenticated, 3 session variables are created and can be referenced as:
- session.authenticated (values are 'Y' or 'N')
- session.name (the user's first and last name)
- session.memberID
USERNAME - Optional. Default is NULL.
PASSWORD - Optional. Default is NULL.
BORDER - Optional. Possible values are "0", "1", "Yes" or "No". Default is "1". Equivalent to the HTML table tag border attribute.
BORDERBGCOLOR - Optional. Default is "White". Products are displayed inside a color border.
TABLEBGCOLOR - Optional. Default is "White". Equivalent to the HTML table tag bgcolor attribute.
ALTROWBGCOLOR - Optional. Defaults to the same value as the TABLEBGCOLOR. Provides for an alternating color for rows.
MSG - Optional. Default is "You made a great choice. Your just moments away to great savings. Your personal information is safe with us. ##companyName## maintains strict confidentiality on our member personal information. Your email and number will not be given or sold to third party companies." This is the text displayed in the signup form.