Dear Willr,
as far as I can see you're maintaining page comments which are a standalone module by now. I try to provide comments only to one type of page (Page -> DirectoryPage). In mysite/_config.php I add:
Commenting::add('DirectoryPage', array(
'show_comments_when_disabled' => false,
'comments_per_page' => 10,
'require_moderation' => true,
'use_ajax_commenting' => false,
'order_comments_by' => '"Created" DESC',
'comments_holder_id' => 'comments-holder',
'comment_permalink_prefix' => 'comment-'
));
Also I do copy CommentsInterface.ss et al. into my themes folder. Although I don't wan't to have the comments static I tried this first. The right amount of comments (10 in that case) are shown. But some variables aren't filled, these variables won't work:
DeleteAllLink, Comments.MoreThanOnePage, Comments.PrevLink, Comments.NextLink also since Comments.Pages always returns 1 I guess it isn't populated too.
Nevertheless first page of comments will be shown.
Second question: I'd like to rather load comments (per page) and submit form as ajax call than loading it within the page itself. But CommentingController/CommentsForm returns always 400 "Sorry, your session has timed out...."
Thanks for any help!