New answers tagged

1 vote

For how long will legacy component MVC structure work in Joomla?

According to information from volunteers over at the Joomla Mattermost community, the most up-to-date information is the one found in code comments. I received this link to Joomla's code that ...
mavrosxristoforos's user avatar
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