Commentics Installation issues v2 | index.php code

if you install commentics in the root of you domain name then you will want to read this: Commentics Installation issues v1 (

The first time I installed commentics I was under the impression i had to use the iframe because the index.php was not working. I soon found I just had to past the correct code in the index.php.

This is the full index.php code. Don't use iframe, iframe is for off site only.

<?php session_start(); ?>

<!DOCTYPE html>


<title>Social Source</title>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">






$cmtx_identifier = '1';

$cmtx_reference  = 'Page One';

$cmtx_folder     = '/';

require($_SERVER['DOCUMENT_ROOT'] . $cmtx_folder . 'frontend/index.php');