Timeline for How can I create my own custom field?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 21, 2021 at 19:43 | vote | accept | Eoin | ||
Apr 14, 2021 at 8:49 | comment | added | Laoneo | Nope, only the plugin folder. Then you have to discover it. | |
Mar 12, 2021 at 13:14 | comment | added | Eoin | Thanks @Laoneo so then I would simply duplicate a plugin and stat to write my own from there? Is it just the plugin folder I need to duplicate? It seemed like quite a lot more than that. | |
Sep 28, 2020 at 15:16 | comment | added | Laoneo | In the final release of version 3.7 the fields got migrated to plugins. | |
Sep 21, 2020 at 15:14 | comment | added | mralexandrelise | @Eoin it would be better to base your code on actual core custom fields and learn from the core custom. The simplest one is text field in JPATH_ROOT/plugins/fields/text learn from that one first then learn from other fields in the plugins fields group | |
Sep 21, 2020 at 9:13 | comment | added | Eoin |
Thanks @alexandreelise are you saying that for com_content I should just be adding it to this area: components/com_content/layouts/field/prepare/foo.php because it is a custom custom field it won't be ovewritten by the core.
|
|
Sep 19, 2020 at 21:57 | comment | added | Robbie Jackson | Also, if you're wanting to implement custom fields in your own component, then there's a tutorial step at docs.joomla.org/J3.x:Developing_an_MVC_Component/… | |
Sep 19, 2020 at 18:15 | history | answered | mralexandrelise | CC BY-SA 4.0 |