Show accumulated child category topics and posts on categories page
-
We have only four categories which hold all other subcategories and have no own topics or posts. Due to this, guests coming to the homepage, they get the impression we have no content yet. Is there a way to show accumulated counters on each category?
Like this:- Cat A (88 topics, 2.316 posts)
- Cat A.1 (51 topics, 754 posts)
- Cat A.2 (29 topics, 1.242 posts)
- Cat A.3 (8 topics, 320 posts)
- Cat A (88 topics, 2.316 posts)
-
This is commited to master now, it will only work for 1 level deep, since we don't recursively retrieve children categories.
- Cat A (88 topics, 2.316 posts)
- Cat A.1 (51 topics, 754 posts)
- Cat A.2 (29 topics, 1.242 posts)
- Cat A.3 (8 topics, 320 posts)
Will work, but
- Cat A (88 topics, 2.316 posts)
- Cat A.1 (51 topics, 754 posts)
- Cat A.1.1 (1 topics, 1 posts) //this wont be included on categories page
- Cat A.2 (29 topics, 1.242 posts)
- Cat A.3 (8 topics, 320 posts)
- Cat A.1 (51 topics, 754 posts)
- Cat A (88 topics, 2.316 posts)
-
Thats fantastico, thank you baris!
Copyright © 2024 NodeBB | Contributors