Closed malvese closed 8 years ago
At first glance, it seams like the only mistake I’ve made was to use the fixed string value "comments"
on this line. I’m going to double check that, test it and in case of success publish a new release. Thank you for reporting this issue! 😃
Nice, I think you nailed it!
A side issue is that it is not always clear what the option does.
For example comments-page.title
is said to "Name of the template of a comments page", when it actually seems to set the name of the blueprint.
I know blueprints and template are tied, but in this plugin the default templates are snippets so it was not obvious for me.
Version 1.1.4 fixes this bug.
I tried to configure KirbyComments with dirnames in French:
When I try this on a post without any coment yet, the first level is created (
commentaires
) but no comment is actually saved inside of it.On the other hand
c::set('comments.comment-page.dirname', 'commentaire');
alone seems to work and each comment folder gets a name like1-commentaire-1
.