Browse Topics In
Knowledge Base
|
|
Search for Answers |
|
Intelligent FAQ Search. Type in your keywords to search for the answers you need. |
|
Back
|
Customer Helpdesk > Installation |
Showing 2 of 2 |
Prev |
Integrating Customer Helpdesk To Your Web Page
Modified on 2004-11-28
|
- One of our product uniqueness is we made our scripts capable to fit into your existing web design.
- First, create a web page where you would like to setup your helpdesk service. Save the web page file with .php extension, such as helpdesk.php.
You can put the file into web root directory or any directory of your choice on the server.
- To ensure the Customer Helpdesk works regardless the location of your web page, you will need to add your Document Path to all the PHP include codes.
To find the Document Path, open the /oneadmin/config.php file with your text editor, and note this path down.
Let's assume that the Document Path is '/home/sitename/public_html/oneadmin/'
- Now, open the web page file (helpdesk.php) with your text editor.
- Before calling the Customer Helpdesk scripts, insert the line below into your web page file to call the /oneadmin/config.php. The config.php file will loads all the class libraries and creates database connection.
<? include_once("/home/sitename/public_html/oneadmin/config.php"); ?>
Note: This code must be loaded / called prior to other include codes.You may put it anywhere on the web page file, making sure it is located above the other include lines.
- If you have this Customer Helpdesk integrated with your FAQ Support module, place the include line below into the menu area to display the FAQ's categories (calling the helpdesk/home.menu.php file).
<? include("/home/sitename/public_html/oneadmin/helpdesk/home.menu.php"); ?>
Disregarded the above line if you disabled integration.
- In the body content section, put the following line to display your helpdesk form (calling the helpdesk/home.helpdesk.php file).
<? include("/home/sitename/public_html/oneadmin/helpdesk/home.helpdesk.php"); ?>
- Save your web page file.
- Navigate to your web page, eg: http://your-domain-name/helpdesk.php to view your Customer Helpdesk publish result.
We recommend that you place your codes on a hidden web page to test before placing them on a public page.
If you need more references on code plug-in guidelines, you may open the /oneadmin/samplehelpdesk.php file with your text editor. Browsing to the sample web page, for said http://your-domain-name/oneadmin/samplehelpdesk.php enables you to preview your customer support service in real time.
Note: Substitute the path in green to your Document Path (the complete path to your /oneadmin directory)
|
|
|
|