logo4.gif (18K)  
 
overlap.gif (1K)home : windows estimator : setup
 jigsaw_we.gif (1K)
- home
  design
  technologies
  ideas
  hosting
  management"
  portfolio
  prices
  contact





[intro] [features] [demonstration] [setup] [configuration] [data files] [download]
[demonstration licence] [full licence]

windows estimator configuration

The windows etimator is currently only available as a PHP script.
This means that your web account must be PHP enabled for this script to operate.
If you are uncertain if your web account is PHP enabled then download the script, unpack the ZIP file using the password that is provided along with the 30 day demonstration licence and upload the the file test.php to your web account and try to access it on your web site with your browser.
If you see a message that say "Hello World" then the script should work.
You are now ready to configure the system...

The configurations are set in the file windowsconfiguration.inc.php

important configuration stuff

$licencenumber

This is the licence number you receive by email either from the demonstration licence page or by buying a permanent licence

format:

$licencenumber = "mmmmmmm-DV-nnnnnn";


$scriptname

The name of the script file on the server.
default: "windows.php"

format:

$scriptname = "windows.php";


$emailto

The email address to which estimate lists should be sent

format:

$emailto = "someone@somecompany.co.uk";


$emailfrom

The email address that appears in the "from" and "reply-to" fields of copies of estimate lists sent to customers

format:

$emailfrom = "another@somecompany.co.uk";



Less Important Configuration Stuff

$page_title

This is the text that forms the main part of the page title

format:

$page_title = "windows calulator demonstration";


$header

This is the main visible page title.
This can be HTML formatted. Note, any double-quotes must be preceeded with a forward slash, EG \"

format:

$header = "<h3 align=\"center\">windows calculator demonstration</h3>";


$show_window_data

Determines whether the tables of window sizes and costs is available.
permitted values are true or false

format:

$show_window_data = true;


$discounts

Determines whether the initial prices are treated as actual prices, or prices to be discounted.
permitted values are true or false

format:

$discounts = true;


$supplyfitdiscount_rate

The discount rate to apply for supply and fitting.
Note, if $discounts = false this value is redundant

format:

$supplyfitdiscount_rate = 8;


$supplydiscount_rate

The discount rate to apply for supply only.
Note, if $discounts = false this value is redundant

format:

$supplydiscount_rate = 40;


$quote_setting

Determines which options are available for estimating.
1 = supply only
2 = supply and fit only
3 = both supply AND supply and fit

format:

$quote_setting = 3;


$num_of_styles

The number of window styles you are providing.

format:

$num_of_styles = 4;



Output Messages Configuration

Please note, it is not VITAL that these parameters be changed. The system will function adeqautely with the default settings.
The purpose of these settings are to adjust the appearance of the generated pages to suit your style.


$show_window_data_msg

Format for link to reveal data tables.
Only available if $show_window_data = true

* format:

$show_window_data_msg = "show data table &gt;&gt;&gt;";


$unshow_window_data_msg

Format for link to hide data tables.
Only available if $show_window_data = true

* format:

$unshow_window_data_msg = "&lt;&lt;&lt; hide data table";


$quote_me_msg

Format for link to calculate estimate.

* format:

$quote_me_msg = "<img alt=\"calculate cost\" src=\"images/calculatecost.gif\" height=\"50\" width=\"200\" border=0>";


$save_quote_message

Format for link to save estimate to estimate list.

* format:

$save_quote_message = "<input type=\"image\" src=\"images/addtolist.gif\">";


$list_all_msg

Format for link to display a list of all defined window types.

* format:

$list_all_msg = "list all window types";


$list_previous_msg

Format of link to list previous window type.
Note, if $discounts = false this value is redundant

* format:

$list_previous_msg = "&lt;&lt;&lt; previous";


$list_next_msg

Format of link to list next window type.

* format:

$list_next_msg = "next &gt;&gt;&gt;";


$front_left_msg

Format of left hand portion of initial welcome page.

* format:

$front_left_msg ="<h2>it's as easy as... </h2>";


$front_col_div

Format of middle divider for initial welcome page.

* format:

$front_col_div ="<img src=\"images/midbluevertline.gif\" width=\"3\" height=\"200\" border=\"0\">";


$front_right_msg

Format of right hand portion of initial welcome page.

* format:

$front_right_msg ="<h3>measuring for windows...</h3>";


$email_header_msg

Format of page heading message for the data entry form for emailing the estimate details.

* format:

$email_header_msg = "<h3 align=center>email details</h3>";


$email_name_msg

Format of text prompt for the name field

* format:

$email_name_msg = "<b>your name:</b>";


$email_email_msg

Format of text prompt for the email address field

* format:

$email_email_msg = "<b>your email:</b>";


$email_add1_msg

Format of text prompt for the address line 1 field

* format:

$email_add1_msg = "<b>address line 1:</b>";


$email_add2_msg

Format of text prompt for the address line 2 field

* format:

$email_add1_msg = "<b>address line 2:</b>";


$email_town_msg

Format of text prompt for the town/city field

* format:

$email_town_msg = "<b>town/city:</b>";


$email_county_msg

Format of text prompt for the county field

* format:

$email_county_msg = "<b>county:</b>";


$email_postcode_msg

Format of text prompt for the postcode field

* format:

$email_postcode_msg = "<b>postcode:</b>";


$email_daytelephone_msg

Format of text prompt for the day-time telephone field

* format:

$email_daytelephone_msg = "<b>day-time telephone:</b>";


$email_evetelephone_msg

Format of text prompt for the evening telephone field

* format:

$email_evetelephone_msg = "<b>evening telephone:</b>";


$email_submit_msg

Format of link for submitting the estimate list and above details by email

* format:

$email_submit_msg = "<input type=\"image\" src=\"images/emailestimate.gif\">";


*
NOTE, all double quotes must be preceeded by a forward slash.

layout configuration stuff

Please note, it is not VITAL that these parameters be changed. The system will function adeqautely with the default settings.
The purpose of these settings are to adjust the appearance of the generated pages to suit your style.

There are so many attributes that can be configured that it is difficult to detail them all.
The various groups are outlined below...


$quote_ ...

These control the attributes of the table displaying the estimate list created by users.


$quote_email_ ...

These control the attributes of the table row containing the link to email the list created by users.


$nav_ ...

These control the attributes of the table containing the main navigation elements.


$inf_ ...

These control the attributes of the table containing information about each window type.


$cal_ ...

These control the attributes of the table where the instant estimate is created.


$dat_ ...

These control the attributes of the table containing the data about all the main window sizes and prices for each window type.


$email_ ...

These control the attributes of the table where the details are completed for emailing.



copyright 2008, Rylands Internet Solutions