Mortgage Calculator into a module, plugin or just an include

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jptechnical
Forum Members
Forum Members
Posts: 131
Joined: Wed Jan 12, 2005 12:18 am

Mortgage Calculator into a module, plugin or just an include

Post by jptechnical »

I have a mortgage calc that I need to include on the website in a content page.

http://www.diamondbuilders.net/calc the txt file is the same thing so you can see the code.

What is the best way to include this single file?

I tried making it a custom plugin with the below but that didnt work... all I got was errors.

Code: Select all

require_once('/calc/mortgage_calculator.php');
This is what the url looks like for the arguments to get the right results...

Code: Select all

/mortgage_calculator.php?form_complete=1&sale_price=200000&down_percent=10&year_term=30&annual_interest_percent=6.5&show_progress=1
I will be linking to this on many many pages and each link will have the url slightly modified so that the results will match the cost of the particular house.

So what is the best way to include this?
Post Reply

Return to “CMSMS Core”