Installation Document for HTML Calculators



Similar documents
Using Internet or Windows Explorer to Upload Your Site

ShoreTel Advanced Applications Web Utilities

IISADMPWD. Replacement Tool v1.2. Installation and Configuration Guide. Instructions to Install and Configure IISADMPWD. Web Active Directory, LLC

Blue Coat Security First Steps Solution for Deploying an Explicit Proxy

Configuring browser settings (Internet Explorer and Google Chrome) for Bug Club via a Group Policy

How To Sync Google Drive On A Mac Computer With A Gmail Account On A Gcd (For A Student) On A Pc Or Mac Or Mac (For An Older Person) On An Ipad Or Ipad (For Older People) On

Install Apache on windows 8 Create your own server

Version USER GUIDE

HELP DESK MANUAL INSTALLATION GUIDE

wce Outlook Contact Manager Documentation

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

Setting Up a Development Server

MOODLE Installation on Windows Platform

Installing LearningBay Enterprise Part 2

TARGETPROCESS INSTALLATION GUIDE

How To Set Up Dataprotect

How to Use Your UT WebSpace Account By Kimberly Pendell October 2004

The Web Pro Miami, Inc. 615 Santander Ave, Unit C Coral Gables, FL T: info@thewebpro.com

Contents. TSM Remote Server Installation guide

Installation of IR under Windows Server 2008

Sophos Anti-Virus for Mac OS X Help

Using Form Scripts in WEBPLUS

CAS CLOUD WEB USER GUIDE. UAB College of Arts and Science Cloud Storage Service

Wavecrest Certificate

You need to set up your browser in order to use the proxy server. This can be done as follows:

VP-ASP Shopping Cart Quick Start (Free Version) Guide Version 6.50 March

Basic Website Creation. General Information about Websites

Quick and Easy Web Maps with Google Fusion Tables. SCO Technical Paper

IBI Group FTP: Usage Instructions

O Reilly Media, Inc. 3/2/2007

If you do not have any FTP login to your website, or how no idea what FTP is, then get in touch with an IT person or developer who can assist you.

1 Classified Script. User Guide v1.0

PDshop.NET Installation Guides (ASP.NET Edition)

Product: DQ Order Manager Release Notes

TIMETABLE ADMINISTRATOR S MANUAL

Livezilla How to Install on Shared Hosting By: Jon Manning

For example, within General Settings, you can change the default language from English to Spanish and change the size of the text that is displayed.

Business Objects InfoView Quick-start Guide

TechNote: 6-WordPress Install - IIS 5-1 Adding A Virtual Directory

Content Management System

Census. di Monitoring Installation User s Guide

Lets Get Started In this tutorial, I will be migrating a Drupal CMS using FTP. The steps should be relatively similar for any other website.

Setting Up One Search

AJ Matrix V5. Installation Manual

How to Get Your Website on the Internet: Web Hosting Basics

SecureAssess Local. Install Guide. Release 9.0

1. Right click using your mouse on the desktop and select New Shortcut.

A Guide to the Tufts Network School of Arts and Sciences School of Engineering Fletcher School of Law and Diplomacy

Quick Installation Guide

How to Edit Your Website

Omnistar Recruiter Install User Guide (Codelock)

CDUfiles User Guide. Chapter 1: Accessing your data with CDUfiles. Sign In. CDUfiles User Guide Page 1. Here are the first steps to using CDUfiles.

Perceptive Intelligent Capture Solution Configration Manager

Online Document Delivery Service (ODDS):

Millennium Drive. Installation Guide

MySQL quick start guide

Installation Instructions

Learnem.com. Web Development Course Series. Quickly Learn. Web Design Using HTML. By: Siamak Sarmady

Outlook Web Access Tipsheets

Junos Pulse VPN Client Installation

SIMIAN systems. Setting up a Sitellite development environment on Windows. Sitellite Content Management System

Installing a Browser Security Certificate for PowerChute Business Edition Agent

How to set up SQL Source Control. The short guide for evaluators

Automatic updates for Websense data endpoints

ConvincingMail.com Marketing Solution Manual. Contents

Sophos Anti-Virus for Mac OS X: Home Edition Help

Advantage for Windows Copyright 2012 by The Advantage Software Company, Inc. All rights reserved. Client Portal blue Installation Guide v1.

Dokmee Enterprise Installation

enter the administrator user name and password for that domain.

Page1. Tera Doty-Blance

isupplier PORTAL ACCESS SYSTEM REQUIREMENTS

Directory Manager Segmented Installation

Alert Notification of Critical Results (ANCR) Public Domain Deployment Instructions

NSD1168 How to Install One Time Password Server Prefetch ASP.NET Web Application on IIS 6

Manual for Multiple Secure Users and for Web Hosting Companies

Quick Start Guide Mobile Entrée 4

FTP, IIS, and Firewall Reference and Troubleshooting

Issue Tracking Anywhere Installation Guide

Microsoft Dynamics CRM Clients

CEFNS Web Hosting a Guide for CS212

JOOMLA 2.5 MANUAL WEBSITEDESIGN.CO.ZA

Lesson 7 - Website Administration

Ingenious Testcraft Technical Documentation Installation Guide

Designing and Implementing Forms 34

Apache JMeter HTTP(S) Test Script Recorder

Remote Console Installation & Setup Guide. November 2009

Administrator s Guide

Download and Launch Instructions for WLC Client App Program

Getting FileMaker Server 11 and IIS 7.x to Work with SSL. By Todd Duell

This installation guide will help you install your chosen IceTheme Template with the Cloner Installer package.

The easy way to a nice looking website design. By a total non-designer (Me!)

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

File Share Navigator Online 1

Using Rackspace Webmail

User Guide to the Content Analysis Tool

Meredith Mass Transit Web Client User Guide For Ad Hoc Accounts

Autograph 3.3 Network Installation

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

GpsGate Server. Installation and Administration Guide. Version: 2.2 Rev: 2

Transcription:

Installation Document for HTML Calculators By Pine Grove Software, LLC As Of: June 17, 2010 REQUIREMENTS: CLIENT SIDE: The client side HTML calculators have been specifically tested on IE 6 and greater, Google Chrome v5, Firefox v2 and greater and Apples Safari. (The calculators have been on a production web site with 1,000+ hits a day for over a month and all minor problems that have been reported have been fixed.) SERVER SIDE: The web server must have either PHP (tested on v5.2.10) or ASP.NET v2.0 (or greater) installed. To confirm that your server is configured with ASP.NET, open Internet Information Services manager and select the Default Web Site in the left pane: 1. Right click and select Properties. 2. The Default Web Site Properties window will show you if you have ASP.NET installed and what version it is. Pine Grove Software s HTML Calculators Installation & Configuration Page 1

If you do not have access to IIS, then you ll have to confirm this with your web hosting company. Either their tech support can answer this question or you can look at their hosting software for some clues. To confirm if PHP is installed, run the PHP script: GetPHPInfo.php from your browser. This script is included in the ZIP file we distribute. Copy it to your web site s root folder. Enter into your browser s address bar this URL: http://www.your-domain.com/ GetPHPInfo.php If PHP is installed and configured correctly, you ll see a window that will be similar (but not exactly) to this: Pine Grove Software s HTML Calculators Installation & Configuration Page 2

NOTE: To use these calculators, either the ASP.NET or the PHP proxy server must run on your site and be able to communicate with the web services on the www.pine-grove.com domain. Since we use a web service for the calculations we can make changes (offer new calculations and/or fix bugs) and roll the changes out on our server which are then immediately available to everyone using our calculators. There is no software to distribute to our users and nothing for them to install (unless of course there is a new calculator) INSTALLATION: Installation is very straight forward. 1. We suggest that you create a folder off the root of your domain by the name of Calculators. Example: www.your-domain.com/calculators Pine Grove Software s HTML Calculators Installation & Configuration Page 3

2. Unzip the zip file you downloaded into this folder and preserve the folder structure. After unzipping, you should see something similar to this in the new calculators folder. You should be also able to enter this URL, and see an index of all calculators: http://www.your-domain.com/calculators/index.htm Naturally replace the YOUR-DOMAIN.COM with your web site s address. Also, if you are working on a development computer, then YOUR-DOMAIN.COM might be the localhost. So your URL could be: http://localhost/calculators/index.htm If everything is installed correctly, you should see an index page that looks similar to this: Pine Grove Software s HTML Calculators Installation & Configuration Page 4

If the installation is working, you should be able to click on the name of any calculator and the calculator will display. (You will not be able to solve any problems yet, however.) CONFIGURATION: There is only one step left and that is configuring the web server. Configuration involves editing one script to set a folder s path. That s it. Pine Grove Software s HTML Calculators Installation & Configuration Page 5

1. Find the calculators.js script in the js folder under calculators. (This assumes you unzipped the files in a calculators folder): {your web site path}\calculators\js\calculators.js Open the file calculators.js in any text editor (Windows Notepad will do you cannot use Word or Write ). Locate this section near the top of the file: 1. Set the appropriate Use Proxy variable to true based on if you are going to use the PHP proxy server or the ASP.NET proxy server. >>> >>> var FirstTime = false; // change to "false" so that strcalcmsg never displays var UsePHPProxy = false; var UseNETProxy = true; One and only one has to be set to true (lower case). Pine Grove Software s HTML Calculators Installation & Configuration Page 6

2. Set the value of the strwebservice variable to the path where you installed the proxy server. If you followed our suggestions, the is how you should edit the value assigned to strwebservice If UsePHPProxy is true then: strwebservice = http://www.your-domain.com/calculators/proxies/calculators.php ; If UseNETProxy is trun then: strwebservice = 'http:// www.your-domain.com/calculators/proxies /CalcsProxyASPNet.asmx/Calc_Proxy'; You ll see strwebservice multiple times. Make sure you edit the right one. >>> // change web service location here if (UsePHPProxy) { if (UseNETProxy) { alert("only one proxy server can be set to 'true' at the same time.") }; var strwebservice = 'http://localhost/pgs/online-calculators/proxies/calculators.php'; //document.write(strwebservice); } else if (UseNETProxy) { if (UsePHPProxy) { alert("only one proxy server can be set to 'true' at the same time.") }; var strwebservice = 'http://localhost/pgs/onlinecalculators/proxies/calcsproxyaspnet.asmx/calc_proxy'; >> } else { }; // location of.net web service - no cross-domain calls allowed var strwebservice = "../WS/CalcServices.asmx"; If UsePHPProxy is true, change the strwebservice in yellow. Pine Grove Software s HTML Calculators Installation & Configuration Page 7

If UseNETProxy is true, change the strwebservice in blue. NOTE: any line in the calculator.js script that starts with a double slash // is a comment line. Do not edit those. IIS CONFIGURATION (only if UseNETProxy = true ): If you set UseNETProxy = true There is one more step. You have to create an application in the IIS manager. NOTE: Web host companies have other software to create a.net application folder. Contact your hosting company. This should be a very simple thing for you to set using your hosting company s software (or they will make the setting for you). You can give them the below instructions if they seem to be at a loss. But assuming you have access to IIS and you are the site s administrator, follow these steps: 1. Run IIS, and find the Proxies folder in your web site in the left pane. 2. Select it. Right click. And select Properties. Pine Grove Software s HTML Calculators Installation & Configuration Page 8

3. In the properties window, make the following edits (that is, make your Directory page look like the below): Pine Grove Software s HTML Calculators Installation & Configuration Page 9

4. Click Apply and then close. 5. If you are using ASP.NET v3.5 or greater, you may have to update the web.config file. This file is located in the \proxies\ folder. The install default uses a web.config file that is suitable for ASP.NET v2 or greater. There is a web.config file named web.3.5.config in the proxies folder as well. If you are using v3.5 or greater then replace the default web.config with the web.3.5.config. (Rename web.config to web.config.bak and rename web.3.5.config to web.config.) 6. You may have to start and stop the web services. Only do this if your calculators do not work. Right click on your web site in the left pane (this is probably the default web site. Select Stop. Then Start. NOTE: This will interrupt users on your web site (but very briefly)! NOTE: The Application name: is anything you want it to be. It is not referenced anywhere. Pine Grove Software s HTML Calculators Installation & Configuration Page 10

TEST: You can test the ASP.NET proxy to see if it s working correctly by entering this URL: http://www.your-domain.com/calculators/proxies/calcsproxyaspnet.asmx This assumes you have installed all the files in their default locations. If the ASP.NET proxy is installed correctly, you ll see a page in your browser that looks like this: Should you not see the above page, you ll see an error message. Copy/paste the error message to an email and send it to us if you don t understand the error. OPTIONAL CONFIGURATION: The calculators can be configured according to local conventions for currency symbols, thousand s separator and decimal separator. Find this section (near the top) in calculator.js : >> var strcalcmsg = "The first calculation may take 5-10 secs.\n\nadditional calculations will happen nearly instantly.\n\n"+ "This message will not be displayed again for this calculator."; var strwspath = "WS/CalcServices.asmx"; // local path of true equations web service i.e. no domain name. DO NOT EDIT! /* Currency symbols see: http://www.xe.com/symbols.php */ var EUR="\u20ac"; // Euro Optionally: "\u20ac" note initial space for right aligned symbol. var GBP="\u00a3"; // Pound var INR="\u20a8"; // Indian Rupee - sometimes Rs var JPY="\u00a5"; // Yen Pine Grove Software s HTML Calculators Installation & Configuration Page 11

var KPW="\u20a9"; // North Korea Won var USD="\u0024"; var CCY = USD; /*For no currency symbol CCY = ""*/ var CCY_r = "";/*If CCY on right*/ var Pct = "%"; /*Do Not Change*/ var DPnt = "."; var Sep = ",";/*thousands separator*/ var USDPnt = ".";/*Do Not Change*/ >> To change the currency symbol, set the varccy variable to equal the symbol you desire. For example, if you want the display currency symbol to be the pound sterling, make this edit: CCY=GBP Similarly, if you want to replace a decimal point with a comma, make this edit: DPnt=, And if you want the thousands separator to be a decimal point or space, make the appropriate edit: Sep= /* a space */ Or Sep=. /* a period */ What if the currency symbol is displayed on the right? Make these settings: CCY= And then assign the currency symbol that you want on the right to this variable: CCY_r NOTE: You can add currency symbols as you desire. See this reference: Pine Grove Software s HTML Calculators Installation & Configuration Page 12

http://www.alanwood.net/unicode/currency_symbols.html Use the value in the Hex column and create a variable. Example, if you wanted to create a symbol for the KIP currency, you might create a variable like this after the USD row: var KIP= \20ad ; // KIP and then set CCY=KIP (According to Wikipedia, this is the currency symbol for Laos.) NOTE: The variable USDPnt Is used internally by the calculators. This must NOT be changed. Ever. FINISHED: That s it! You re finished. You should be able to use any calculator. Pat yourself on the back if you have it working. Otherwise, write to: webmaster@pine-grove.com Tell us what you did, and what error message you see, if any, and we ll provide basic support. Pine Grove Software s HTML Calculators Installation & Configuration Page 13