(2) Adding Your Design to the Template

In the previous step you should now have a file named "design.php" in your installation folder which renders correctly with your websites look and feel.

IE: design.php

Now think of "design.php" as two sections.

(1) Header HTML - (All HTML above the content area)
(2) Footer HTML - (All HTML below the content area)

Copy all the HTML in the header section of your design.php file and paste it over the form template HTML header area (everything above where the <form> tag starts)

Now copy all the HTML in the footer section of your design.php file and paste it at the end of the form template HTML footer area over:

</BODY>
</HTML>


Using CSS / Javascript in PHP Form to e-Mail Templates:

If you use CSS or Javascript within your site design wrap your CSS or Javascript code around the following tags:

{literal}
    CSS or Javascript here
{/literal}


Using PHP Code within PHP Form to e-Mail Templates:

{php}
    // PHP Code Here
{/php}


See our example, customized to our site design.