The purpose of the two comment lines was to get the use statement added.Just uncomment (remove //) the second line above and insert it after the other use statements, like this:
Code:
// add this use statement after use statements in the beginning:// use Joomla\Component\Fields\Administrator\Helper\FieldsHelper;
Code:
use Joomla\Component\Content\Administrator\Extension\ContentComponent;use Joomla\Component\Content\Site\Helper\RouteHelper;use Joomla\Component\Fields\Administrator\Helper\FieldsHelper;
Statistics: Posted by toivo — Tue Apr 09, 2024 9:46 am