Answer the question
In order to leave comments, you need to log in
What to add to the files of your own Joomla theme so that it displays Content and Categories?
I followed the Joomla Docs recommendations: I created the index.php and templateDetails.xml files, filled them with the minimum required content, set the theme in the admin panel. But the resulting theme does not display the Content and Categories that I added in the admin. It only displays the title "Main". I suspect that I need to add something like this to index.php <jdoc:include type="articles" />
and <jdoc:include type="categories" />
in the place of the page where I want to display articles, maybe I need to somehow declare that I have such sections in templateDetails.xml. But I don't know which PHP code is responsible for this. Tell
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question