Config.txt   .tmpl   FlyPage Tags   Installing Flypage



FlyPage INSTALLATION DOCUMENTATION
[ if in doubt call us at 937-256-0357 ]

FIRST MISSION IS TO GET THE DEMO PAGE WORKING
- Then you can set it up for your particular needs.

1) Unzip flypageupdater.zip into a directory on your PC. We recommend you create a new directory to work from so that it is easy to locate the files. Do not delete the original zip file incase you need to restore the original files.

2) Create a directory on your web server in your html area called /flypage. Set the directory permission to chmod 777. This is where you will place the needed pages for the demo installation. You will also be placing the flypage programs in your cgi-bin.

3) Open up the file flypageupdater.cgi in a text editor program (notepad for example) so that you can edit the configuration variables located at the top section of this flypage program. There are full instructions with each variable that needs to be set. Once set save the changes and close the file.

You will need to know the following:
  • Location of perl on your server (example: /usr/bin/perl )
  • Absolute server path (not URL or relative URL) to your html directories where you will locate the header.txt file, footer.txt file and config.txt file. (example: /usr/local/www/account/html/flypage )
  • The full URL of the flypageupdater.cgi program (example: http://www.flypage.com/cgi-bin/flypageupdater.cgi )
If any of these items are unknown to you check with your ISP Web Host.

4) Open up flypage.lib and flyedit.lib in a text editor program (notepad for example) and edit the first line of those files to point directly to the location of perl on your server (example: /usr/bin/perl ). Save the changes and close the files.

5) Open up config.txt file and change the following configuration items to point to the demo.html and demo.tmpl files that will be placed on your server.

Page Path=/yourpath/to/your/html/directory/flypage/demo.html
Page Template=/yourpath/to/your/html/directory/flypage/demo.tmpl
Page URL=http://www.yoursite.com/flypage/demo.htm

These are items 8, 9 and 10 on the CONFIG.TXT INSTRUCTION PAGE. Once these changes are made to the config.txt file save it and close the file. Do not change the license code that was included in the config.txt file.

6) Open up flypagelogin.html with a text editor or html editor. Change the following code on that page to point to the program on your server then save the changes and close the file:

<FORM METHOD=POST ACTION=http://www.yoursite.com/cgi-bin/flypageupdater.cgi>

7) Open up an FTP program so you can move files up onto your web server. Place the following files and set the appropriate permissions:

Server Location File Name Permission Setting
cgi-bin flypageupdater.cgi chmod 755
cgi-bin flypage.lib chmod 755
cgi-bin flyedit.lib chmod 755
cgi-bin config.txt chmod 755
/flypage directory flypagelogin.html no special setting
/flypage directory demo.html chmod 777
/flypage directory demo.tmpl chmod 777
/flypage directory header.txt chmod 777
/flypage directory footer.txt chmod 777
/flypage directory flypageupdater.gif no special setting
/flypage directory flypagebrackets.gif no special setting


8) TEST PROGRAM:
  1. go to the flypagelogin.html page that you uploaded into your flypage directory.
  2. Enter in username of demo and password of demo as this should call up the FlyPage Editor Screen.
  3. select the demo page to edit
  4. change a few things on the page to test that the updating is working then click POST CHANGES
  5. Then click on the page name link to see the changes on the page itself. You may need to reload the page to get the latest version of the page instead of pulling up an old copy from your cache memory.
  6. If all worked then the test is complete.


IMPLEMENTING IT ON YOUR SITE

Now that you have the demo working you can create your own pages and use the flypage tags. Please never change the original demo.html page as this shows you the formatting of the of the flypage tags themselves.
There are seven different tags. Each one performs a different function. The golden rule is to use the right tag for the right job. Golden Rule #2 is to make sure you set one tag for each variable name. You can not have v001 with two functions. Golden Rule #3 is that you can have as many pages use flypage tags as you want. You just create a new configuration block inside the config.txt file for each page.

If you have problems installing or using the Flypage program send an email to support@flypage.com with the url of the program, a copy of the config.txt file and we will help you get it right.