Closed malvese closed 8 years ago
This is a very good point. I’ll see, what alternatives would be best. Suggestion are most welcome.
Perhaps making it a snippet? I was happy to see I could override comments.php
by copying it in the right folder :)
Yes, the comments.php
snippet serves as a production ready example usage of the Kirby Comments plugin, so users of the plugin are encouraged to use it as such an example and write their own comments form/list.
I’m still unsure about the correct method of storing the email template (snippet, template, page, configuration, …).
This is now fixed in 1.1.5.
The best solution I found was declaring the email.template.txt file as plugin asset, so users can create alternative assets in assets/plugins/comments/. Instructions on how to customise the email-body-template file can be found in the README. More about customising plugin assets in the Kirby docs.
Is there a way to use a copy of this file, so it would not be overwritten when the plugin is updated? Thanks