Quote:
Originally Posted by crcool75
Ok, I see your logic. However, I don't quite understand how you would access this new page. Would I be creating a static page? How would the web server know to display the new page? Would it be a link something like /home.php?mode=quote ?
|
quote.php is what is accessed by the user. It will be accessed via
http://www.exaple.com/quote.php . In the quote.php file you will need to set the $main var like this:
Code:
$smarty->assign("main","quotereq");
Then in home_main.php you can set an elseif like this:
Code:
{elseif $main eq 'quotereq'}
{include file="customer/main/quote.tpl"}
So now you got the display working.
Also, you may actually want to move the quoterequest.php which sends the email to a different directory such as /include/ so people cant access it directly.