Carbon Field Template (working example?)
-
I was wondering if anyone had a working example of using the carbon-field-template to add a custom field type?
I tried using it to create a simple new field type, but it is looking for my custom field class in the main CF core folder:
https://github.com/htmlburger/carbon-field-template/issues/1Do I have to give the plugin my own namespace and reference it as something like this?
\MyNameSpace\MyPlugin\Custom_Field::make('fieldtype', 'crb_custom_field')
I’d rather avoid doing that because it’s messy and would be confusing to a user. I’m just curious what I’m doing wrong, and an example of one that is working with 1.5 would be very helpful (even if it’s just a simple “Text2_Field” that displays a simple input).
Thank you!
Daniel
- The topic ‘Carbon Field Template (working example?)’ is closed to new replies.