php scriptleri
 

Müşteri Destek

Satın Almaya Hazırmısınız?

Daha Fazla Bilgi


Customer Helpdesk > Dökümanlar > Integration Guidelines

 Step 1 : Create new PHP page

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.

Note: You can put the file into web root directory or any directory on the server.


   Step 2 : Find document path

To ensure that your Customer Helpdesk works regardless the location of your web page, you will need to add your server's Document Path to all the PHP include codes.

To find the Document Path, open the ' /modulescontroller/config.php ' file with your text editor, and note this path down. Let's assume the Document Path is C:/wwwroot/user/modulescontroller/


 Step 3 : Call 'config.php'

Insert the codes as below to your web page file to call the 'config.php', 'session.php' and 'css.php'. This will load all the necessary database connection, class declaration files and css control. To do this, open the helpdesk.php file with a text editor, and put it to the topmost line (line 1) of the php file, without any preceded character.

<?php
  include_once ("C:/wwwroot/user/modulescontroller/config.php");

  include_once ("C:/wwwroot/user/modulescontroller/common/session.php");
  include_once ("C:/wwwroot/user/modulescontroller/common/css.php");
?>



 Step 4 : Load content and integrate with FAQ Support (Optional)

In your .php web page file, put the line below to call the Customer Helpdesk integrated with a FAQ Support and Agent Login area.

<?php
  include("C:/wwwroot/user/modulescontroller/helpdesk/home.menu.php");
  include("C:/wwwroot/user/modulescontroller/helpdesk/home.login.php");
?>


Note: Exclude the '.../helpdesk/home.menu.php' code if you do not wish to integrate with FAQ Support.


In the body content section, put the following line to display your helpdesk form and client's reply section.

<?php include("C:/wwwroot/user/modulescontroller/helpdesk/home.helpdesk.php"); ?>


 Step 5 : View integration result

Now, proceed to your web page URL, eg: ' http://your-domain-name/helpdesk.php ' to view the front-end integration result.

To preview your customer support service in real time, click on the 'front-end' link on the top right menu from within the Web Modülleri panel.


Back to the top


 
Copyright © 1999 - 2008 by WebTeknolojisi Teknolojik Internet



whois search