Quote:
Originally Posted by boomobile
I have 3 separate pages as follows
login = secure_login_form.tpl
registration = register.tpl
recover lost password = change_password.tpl
these all come up on separate pages, I want them all on one.
My home_main.tpl includes this:
{elseif $main eq "register"}
{include file="customer/main/register.tpl"}
{elseif $main eq "secure_login_form"}
{include file="customer/main/secure_login_form.tpl"}
{elseif $main eq "change_password"}
{include file="customer/main/change_password.tpl"}
I'm not sure what file I need to modify.
|
I don't really understand why you would want them all on the same page, particularly since they do different things.
"Register" does just that, registers new customers.
"Secure Login" will login current customers using https.
"Change Password" will allow current customers to change their password, and is part of "modify profile".
"recover lost password = change_password.tpl" as you state is incorrect. "Recover Password" allows a current customer to retrieve their login information via email and has nothing to do with changing their password (unless of course you require them to change it at their next logon).
Anyway, to get more than one template on a page, just call it...
{elseif $main eq "whatever_you_want_to_name_your_page"}
{include file="customer/main/register.tpl"}
{include file="customer/main/secure_login_form.tpl"}
{include file="customer/main/change_password.tpl"}
You need to include the "requires" on "whatever_you_want_to_name_your_page.tpl"