FORMfields, the premiere web framework
Login
Support Home | Knowledge Base | Documentation | Forums | Contact Us
FORMfields v2 Tutorials
FORMfields Lib Tutorials
TableHelpers Tutorials
Tutorial 1: TableHelpers Setup
Tutorial 2: Using TableHelpers
Tutorial 3: Sorting by Column
FORMgen Tutorials
Tutorial 1: TableHelpers Setup
Installation
  • Download the TableHelpers archive from here.
  • This step is only for users upgrading from a previous version of TableHelpers. We recommend that you rename the existing FORMfields directory in your root directory to something like FORMfieldsOld. This way you can more easily copy over the previous configurations that were in dbHelpers.php and tableHelpers.css to your new TableHelpers installation.
  • Unzip the TableHelpers archive to the root directory of your website.

  • We recommend that you first save the TableHelpers archive to your local machine and then use WinZip or another similar application to unzip your files. Then you should use an FTP program to copy the unzipped files to the root directory of your webserver. Important: all directory and file names are case sensitive and must remain intact. After you are done copying the files to your webserver, you should have a directory like http://www.yourdomain.com/FORMfields and in this directory there should reside all the TableHelpers files.
Configuration
If you are going to be using the database functionality of FORMfields or TableHelpers then:
  • Use an FTP client to download the file http://yourdomain.com/FORMfields/dbHelpers.php.
  • Open this file in a text editor and set DB_HOST, DB_USER, DB_PWD, and DB_NAME to your database’s configuration. If you are unsure as to what these values should be, please refer to your hosting company’s control panel or contact your hosting company’s tech support.
    • DB_HOST - The hostname of your database
    • DB_USER - The username for your database account
    • DB_PWD - The password for your database account
    • DB_NAME - The name of your database
    For example, your modification to dbHelpers.php should look something like:
    define ("DB_HOST", "localhost");
    define ("DB_NAME", "mydatabase");
    define ("DB_USER", "myuser");
    define ("DB_PWD", "mypwd");
  • FTP dbHelpers.php back to your website.
Info
Support | Earn Money
Copyright © 2005-2012 Brain Book Software LLC.
Built with FORMfields, the premiere web framework.