Reputation: 1340
I want to show all the articles from a certain category in different module positions.
How I think it needs to work. I make a plugin that collects all the articles with their information in a central array. This array get emptied one by one in the module positions that I specify. I presume you'll also need a module that adds to the plugin so the plugin needs to know where the items need to go.
But is this the way to go or do you recommend something different? Maybe it already exist in a component or module?
Upvotes: 0
Views: 29
Reputation: 970
Why are you making your own plugin to show Joomla article since Joomla already have it Just follow the following steps to create article category module in Joomla.
Create module under extension->module->new->choose-Article-categories
Now choose the article category and the position where you want to publish it. You can choose already available positions or you can create it on the fly.
If you want to publish module in custom position then check this link https://api.joomla.org/cms-3/classes/JModuleHelper.html
Upvotes: 3