You are not doing anything wrong, only there’s no styling included in the plugin. You just have to add custom styles in order to make it suit your needs.
You can have a look at the CSS of the demo page (end of the file), to get started.
Thanks for the quick help.
CSS tells me something, but what do I have to do now in order for the boxes to be intertwined? Which code must be in which file?
I just had a look in the snippet, and these values are indeed hardcoded, so the config setting doesn’t do anything. You would have to change the value in the snippet itself.
Are you using the starterkit? Then you would have to add your styles in /assets/css/index.css. If you are using any other theme or your own styles, you would have to add those in your stylesheet or the one that belongs to the theme. If you want to use classes for styling, they would also go into the snippet. (The plugin category is only for plugin announcements, not for questions even if they are plugin related, btw).
The comments.form.preview and comments.form.submit options describe the name used for HTTP POST data, not the button label. So, for example, a value of
This is important to the plugin because it needs to know the name of the buttons/fields in order to read the values from PHP’s $_POST.
The label of the button is not important to the plugin and so it doesn’t need to know about it. (That is why there is not option for button labels.)
You can copy the contents of comments/snippets/comments-form.php and paste them into a new snippet in your sites site/snippets/my-comments-form.php (name it whatever you like). There, you can change it the value of the buttons to something else:
<div class="comments">
<?php
// use the standard list of the plugin
snippet('comments-list');
// use the new, custom comments form
snippet('my-comments-form');
?>
</div>
For more on creating custom markup check out the Custom Markup guide in Kirby Comments’s README.
Many thanks for the support. Meanwhile, this works with the mail notification. I can not understand why. However, it takes quite a long time for the message to arrive. This is no longer a problem.
Your styling depends on your theme or your styles in general, so it’s hard to give any advice. No idea if you use a framework like bootstrap or your own CSS, or whatever. May I asked on what level you’d say is your HTML and CSS knowledge in general?
I certainly give a clear picture: I have almost no CSS and only moderate HTML knowledge.
I use a theme of another developer and had the hope that you can tell me where I can look for such CSS files. The developer himself can not be reached well at the moment.
Sorry late to the game here… But iv’e på the comment folder in the plugins folder and added the snippet til a template but nothing turns up… Do I have to activate stuff in the config?
Heres my template and where i put the snippet ind the footer…
Solved… I think the Footer div inside the article is only shown if there is declared any tags. I relocated the comment div into the article body on voila!
Thanks again for your help and attention. Really solid work there texnixe👍