Hot answers tagged

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 ...
user avatar
  • 8,581
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/...
user avatar
  • 26.5k
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 ...
user avatar
  • 8,581

Only top scored, non community-wiki answers of a minimum length are eligible