Sure. Thanks for helping me
The module is here
Extract it to site/modules and then install both modules in PW.
Here is the code I use to render the comments and the form on the frontend:
<div class="row">
<?php
$commentnumber = 0;
foreach ($page->commentsrating as $comment) {
if ($comment->status < 1) continue; // skip unapproved or spam comments
// if ($comment->status < 1 || $commentnumber >= 3) continue; // skip unapproved or spam comments
$commentnumber++;
$cite = htmlentities($comment->cite); // make sure output is entity encoded
$text = htmlentities($comment->text);
$title = htmlentities($comment->title);
$rating = htmlentities($comment->rating);
$date = date('d/m/Y g:ia', $comment->created); // format the date
echo "
<div class=\"review\" itemscope itemtype=\"http://schema.org/Review\">";
echo "\n\t<div class='rating' itemprop='reviewRating' itemscope itemtype='http://schema.org/Rating'>";
echo "
<span itemprop='ratingValue'>$rating</span><span class='fa fa-star star selected'></span><span class='fa fa-star star selected'></span><span class='fa fa-star star selected'></span><span class='fa fa-star star selected'></span>";
echo "\n\t\t<span itemprop='author' itemscope itemtype='http://schema.org/Person'><span itemprop='name'>$comment->cite</span>";
echo "\n\t</span>";
echo "</div>";
echo "<span itemprop='reviewBody'>";
echo "<strong class='title'>$title</strong>";
echo "<em>$comment->text</em>";
echo "</span>";
echo "</div>";
}
?>
</div>
<div class="text-centered">
<button class="btn" id="showcomments"><i class="fa fa-comment"></i> Kommentieren</button>
</div>
<?php
echo $page->commentsrating->renderForm(array(
'headline' => "<h3>Sag uns deine Meinung</h3>",
'successMessage' => "<p class='success'>Danke. Dein Kommentar erscheint, sobald wir ihn freigegeben haben.</p>",
'pendingMessage' => "<p class='success'>Danke. Dein Kommentar erscheint, sobald wir ihn freigegeben haben.</p>",
'errorMessage' => "<p class='error'>Dein Kommentar konnte nicht gespeichert werden. Bitte überprüfe, ob du alle Felder korrekt ausgefüllt hast, bevor du es erneut probierst.</p>",
'processInput' => true,
'encoding' => 'UTF-8',
'attrs' => array(
'id' => 'CommentForm',
'action' => './',
'method' => 'post',
'class' => '',
'rows' => 5,
'cols' => 50,
),
'labels' => array(
'cite' => 'Dein Name',
'title' => 'Titel',
'email' => 'Deine E-Mail',
'text' => 'Deine Meinung',
'submit' => 'Abschicken',
),
// the name of a field that must be set (and have any non-blank value), typically set in Javascript to keep out spammers
// to use it, YOU must set this with a <input hidden> field from your own javascript, somewhere in the form
'requireSecurityField' => '', // not used by default
));
?>