Kuubs
Kuubs

Reputation: 1340

Joomla articles from category filled in module positions

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

Answers (1)

aMoL Thite
aMoL Thite

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.

  1. Create module under extension->module->new->choose-Article-categories enter image description here

  2. 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.

enter image description here

If you want to publish module in custom position then check this link https://api.joomla.org/cms-3/classes/JModuleHelper.html

Upvotes: 3

Related Questions