如何在Joomla的一篇文章中显示多个类别列表? [英] how can I display multiple category lists in one article in Joomla?
问题描述
如何以树形结构显示类别列表和所属类别的文章,仅显示文章和类别的名称?
How can I display a category list and the articles that belong to them, as a tree structure, displaying only the names of the articles and categories?
推荐答案
在Joomla后端中,转到模块管理器"并打开名为文章类别"的模块.您可以在其中编辑参数以适合您的需求,这将显示类别和所属类别的文章的树形结构.
In the Joomla backend, go to the Module Manager and open the module called "Articles Category". In there you can edit the parameter to suit your needs and this will display a tree structure of categories and the articles that belong to them.
如果要在文章中显示此模块,请通过键入一个而不是选择一个来为模块提供自定义位置.在文章中,添加以下代码:
If you want to display this module inside an article then give the module a custom position by typing one in, instead of selecting one. The in the article, add the following code:
{loadposition xxx}
将 xxx 更改为您的自定义职位.
Change xxx to the name if your custom position.
这篇关于如何在Joomla的一篇文章中显示多个类别列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!