Addpixel / KirbyComments

[Kirby 2] File-based comments stored as subpages for the Kirby CMS.
MIT License
68 stars 5 forks source link

Adding custom fields #23

Closed wottpal closed 7 years ago

wottpal commented 7 years ago

Hi, first thank you for your amazing work. 🎉

Is there an straightforward way for adding a custom field (like a Twitter handle) to comments. Or do I have to manually modify the plugins-core?

Dennis

florianpircher commented 7 years ago

Unfortunately custom fields are currently not supported. I am planing to offer the following interface for creating custom fields:

A custom field can be created in Kirbys config.php and must include:

Additionally it can include:

Comments about the above interface are welcome.

wottpal commented 7 years ago

Sound super cool! 💯 Maybe an additional option for an HTML5 form-validation pattern could be useful.

florianpircher commented 7 years ago

The plugin is independent of the markup you are using. Kirby Comments includes some snippets for a quick start, but you can create any HTML code you want. Have a look at the custom markup section for more information.

florianpircher commented 7 years ago

Version 1.5.0 is live and on master! For more on custom fields have a look at