fieldtype prefixing #441
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: joomla/Component-Builder#441
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Custom fields in joomla typically have a prefix of "J" as in "JFormFieldEventtype". The "J" prefixing was actualy reserved for core. The "proper" way to add custom fields is to add you Own prefix.
So i would use "B42FormFieldEventtype" and the resulting field type would be b42.Eventtype. This This adds "namespacing to your fieldstype and avoids conflicts.
With JCB i run into 2 problems
so if i specify a field_type of "b42.eventtype" i end up with
"bforty_twoenventtyp" (no prefixing and numbers converted" making it "imposible" to use that field type
after manually manipulating the form
show the proof of concept
Please test and let me know 👍