Once you've installed and tested the calculator, you are ready to integrate it into your webpage:
- Create a blank webpage in your website's style, then type the single word "break" into the body of the page. Save and close the file.
- Open the new webpage in your web browser. Open the page's source code (using Internet Explorer, click on View then select Source).
- Copy all of the HTML above the word "break" to your clipboard (ctrl+c). Use a text editor (e.g., Notepad) to open the header.tpl file from the "templates" folder and replace its contents with the copied text. Save the header.tpl file but leave it open.
- Copy all of the HTML below the word "break" to your clipboard (ctrl+c). Use a text editor (e.g., Notepad) to open the footer.tpl file from the "templates" folder and replace its contents with the copied text. Save the footer.tpl file but leave it open.
- Wrap all <style> and <script> tags in header.tpl and footer.tpl with {literal} tags. For example:
{literal}
<style>
...
</style>
{/literal}
| AND |
{literal}
<script>
...
</script>
{/literal}
|
- Place the following code between the <head> and </head> tags in the header.tpl file:
<link href="calculator.css" type="text/css" rel="stylesheet">
|
- Change <title> tag to:
<title>Amortization Schedule Calculator</title>
|
- Save, close and upload the footer.tpl and header.tpl files to the "templates" directory of your server or hosting account.
- Open calculator.php in your web browser.
- If the calculator works, you can link to it from your website.
- Remember that you must purchase a Copyright Removal License or keep "Powered by Amortization Schedule Calculator" (linked back to www.amortization-calc.com) immediately below the user interface.
|