简体   繁体   English

phpbb论坛显示类别子类别

[英]phpbb forum show category sub category

I want to show category and subcategory in home page like tree structure using phpbb3. 我想在首页显示类别和子类别,例如使用phpbb3的树状结构。

Aircraft
    Commercial Aircraft
    Boeing Aircraft
    All Aircraft...
Autos
    Chrysler
    Chevrolet
    All Autos...

Here Aircraft and Autos are the category and Commercial Aircraft, Boeing Aircraft are the sub categories of Aircraft. 在这里,飞机和汽车是飞机的类别,商用飞机和波音飞机是飞机的子类别。 Autos is also same like Aircraft. 汽车也和飞机一样。

Please help me how should I show parent category and all subcategory under the parent category. 请帮助我如何显示父类别和父类别下的所有子类别。

You have to mark the parent of the forum when you create it and you can declare the forum itself to be a forum (with topics) or a category. 创建论坛时,您必须标记论坛的父级,并且可以将论坛本身声明为论坛(包含主题)或类别。 See https://www.phpbb.com/support/docs/en/3.1/ug/quickstart/forums/ 参见https://www.phpbb.com/support/docs/zh-CN/3.1/ug/quickstart/forums/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM