3
votes
Accepted
Creating a field plug-in, need the com_content form to be enctype multipart
There really isn't a good way to do this. Your best bet is parsing the already generated HTML and making a replacement there. For the component this can be done using onAfterDispatch event. Below is a ...
1
vote
Show article fields in module
Assuming this is for Joomla 3, you can use the following:
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\Model\BaseDatabaseModel;
\JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/...
1
vote
Accepted
How to update colorpicker fields to Joomla 4.x
Neither form fields, nor their layouts are really designed to be used outside of Form API. Things can break very easily this way. A form instance is expected in some fields and a field instance in ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fields × 59custom-field × 18
joomla-3.x × 16
jform × 11
form-fields-types × 11
module × 5
form × 5
xml × 5
php × 4
plugin × 4
com-fields × 4
joomla-4.x × 3
pivot × 3
showon × 3
component × 2
joomla-3.4 × 2
extensions × 2
custom-component × 2
template-override × 2
sql × 2
registration × 2
joomla3.8 × 2
joomla-2.5 × 1
templates × 1
mysql × 1