Location: PHPKode > scripts > Commentics > commentics/integration.txt
INTEGRATION (detailed guide at commentics.org)

Add the following to the very top of your php page:

<?php
session_start();
ob_start();
?>

Add the following inside the head tag of your php page:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="comments/css/stylesheet.css"/>

Add the following inside the body tag of your php page:

<?php
$page_id = "1";
$reference = "Page One";
$path_to_comments_folder = "comments/";
define ('IN_COMMENTICS', 'true'); //no need to edit this line
require $path_to_comments_folder . "includes/commentics.php"; //no need to edit this line
?>

(Enter your own $page_id and $reference for each page.)

(You can enter any page ID. The reference should be a short descriptive term.)

(If you have many pages then please read the Detailed Guide.)
Return current item: Commentics