Answer the question
In order to leave comments, you need to log in
How to display materials in a template through a module?
Good day.
I need to display the n-th number of materials in the form of a carousel slider from a certain category in a joomla template.
As an option, create a module in the admin panel "Materials - List of category materials" and write in the template:
<jdoc:include type="modules" name="slider-carusel"/>
Answer the question
In order to leave comments, you need to log in
In your case, it's easier to find a ready-made solution.
and so take a custom module, clone and rewrite, taking into account the connection with the database of materials, and take anything from there
The task can be solved by redefining the module template
Create the module "Materials - List of category materials"
Then you redefine the module template as follows "Extension" -> "Template manager" -> In the template column, to the right of the names, click on your template -> click on tab "Create override" -> select in the left column "mod_articles_category"
You will have an html folder in the template folder, mod_articles_category folder in it, inside this folder are the module template files, you actually make the layout you need in them and use it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question