I want to add custom fields to my component. My admin edit view uses bootstrap tabs:
<?php echo HTMLHelper::_('uitab.startTabSet', 'myTab', array('active' => 'general')); ?>
<?php echo HTMLHelper::_('uitab.addTab', 'myTab', 'general', Text::_('COM_MYCOMP_TITLE', true)); ?>
Then I render the fieldset:
<?php echo $this->form->renderFieldset('general'); ?>
Now I want to render my custom fields before the endTabSet using:
<?php $this->ignore_fieldsets = array('general'); ?>
<?php echo LayoutHelper::render('joomla.edit.params', $this); ?>
But this gives me an error of Notice: Undefined index: Joomla\CMS\HTML\Helpers\Bootstrap::startTabSet.
Any advice greatly appreciated.