| 1. | Using a text editor, open the web page file (.php file) that you wish to integrate the Newsletter to, insert the line below to the top of the file, to call the 'config.php' file. |
| <?php include_once("document_path_of_oneadmin_folder/config.php"); include_once($path["docroot"]."common/session.php"); include_once($path["docroot"]."common/css.php"); ?> |
| * Note: Always put the above code to the line 1, without any preceding character(s), not even a space. |
| 2. | Meanwhile, to display the newsletter's content area, put the line below. |
| <?php include($path["docroot"]."newsletter/home.newsletter.php"); ?> |
| 3. | For sample integration code, please refer to the source code of this file. To do this, open the file with your text editor. |
| ** To find your 'document_path_of_oneadmin_folder', check the path['docroot'] value from the oneadmin/config.php file |