You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Joomla routes to the custom core fields of a JCB component.
That means you can simple using the URL: administrator/index.php?option=com_fields&view=fields&context=com_[component].[adminview]
to create custom fields for that specific view of the component, like you can use with contacts, content, users and so on.
I render the fields in the site view using the fieldshelper.
"Component Builder -> SiteViews -> {SiteView} -> Default Tmpl"
To do this i registerd in the siteview tmpl and get the fields with the method getFields().
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Joomla routes to the custom core fields of a JCB component.
That means you can simple using the URL:
administrator/index.php?option=com_fields&view=fields&context=com_[component].[adminview]
to create custom fields for that specific view of the component, like you can use with contacts, content, users and so on.
I render the fields in the site view using the fieldshelper.
"Component Builder -> SiteViews -> {SiteView} -> Default Tmpl"
To do this i registerd in the siteview tmpl and get the fields with the method getFields().
It looks like this:
My question is:
Is this the right way or is there a better option?
For those wondering why I want to use custom fields, it has something to do with this question:

https://github.com/vdm-io/Joomla-Component-Builder/discussions/979
Beta Was this translation helpful? Give feedback.
All reactions