New answers tagged

1 vote

Select articles to display in custom component

Building on @Sharky's answer, the correct way to get the model in Joomla 4 & 5 is: use Joomla\CMS\Factory; $app = Factory::getApplication(); $factory = $app->bootComponent('com_content')->...
Yosh M.'s user avatar
  • 11

Top 50 recent answers are included