| 1. | Before calling any script, put the line below to call the 'config.php' file. This will load all the necessary database connection and class declaration files. |
| <?php include_once("config.php") ?> |
| * Note: This line must be located ontop of home.menu.php and home.link.php include code. |
| 2. | In your .php file, put the line below to call the menu area. |
| <?php include("linksdir/home.menu.php") ?> |
| 3. | Meanwhile, to display your link directory content such as link categories and link details, put the line below. |
| <?php include("linksdir/home.link.php") ?> |
| 4. | For sample integration code, please refer to the source code of this file. To do this, open it with your text editor. |
| 5. | Finally, as an additional tip, you can put your front-end file in any location you like, but put the call to the One Admin folder using the relative path. |
| Example, if your front-end file is at http://yourdomain.com/linksdir.php and the One Admin folder
is located at http://yourdomain.com/oneadmin/ , use the code below. |
| <?php include_once("oneadmin/config.php") ?> |
| <?php include("oneadmin/linksdir/home.menu.php") ?> |
| <?php include("oneadmin/linksdir/home.link.php") ?> |