How To Match Your Site Design

PHP Form to e-Mail allows you to create your form via the back-end administration program.

The form you create is displayed via a web site template. These templates are stored in the /interface/ folder.

You have complete control of your form design and the entire page design the form is shown on.

To match your site design simply edit the template file that your form is using. You can view or change the form template in use by logging into the administration program and clicking on the [Edit] link on your form of choice.



The best way to start the process of integrating your website design into the PHP Form to e-Mail template(s) is to create a standard web page with your site design / layout in the installation folder of PHP Form to e-Mail. We'll call this file "design.php".

Where the content area of your "design.php" resides and where you want the form to be displayed place the following text in that section of the file.

Place form content here... Place form content here...

You will want to make sure you update any source calls to images, links, css files, etc like you were working within a sub-folder of your main site.

NOTE: Starting image, link and css source calls with a slash "/" is the best practice as it will always start at the root of your site and move forward.

IE: <img src="/images/filename.gif">

Upload this new file "design.php" into the installation folder of PHP Form to e-Mail. Now visit the URL to this new file w/ your site design in it.

IE: http://www.your-domain.com/php_f2e/design.php

Check to see that the page renders correctly. Images are pulled in, links work correctly, if you use CSS make sure that its getting pulled in if called from an outside file.


Example: See our design.php file