1

I have a central library \libraries\mylib\ containing some models, tables, helpers and stuff all of my components use.
I also have a folder there containing some custom fields i use.

It is simple to tell Joomla where the fields are when caling it from the library:

FormHelper::addFieldPath(dirname(__FILE__) . '/forms/fields');

But Layouts for standard field types like "radio" are getting searched in the component and template folders and have priority.

How can i tell the system to check first priority for alternative field layouts in this folder:

\libraries\mylib\layouts\joomla\form\field\
2
  • You want core fields to use custom layouts?
    – Sharky
    Oct 19, 2021 at 8:48
  • I want a central library with custom field layouts (for standard and custom fields) to be used by multiple extensions which use those fields.
    – Mike
    Oct 20, 2021 at 9:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.