Index of all forums

Index of all forums

by Sa Ku -
Number of replies: 3

I am using Moodle version 3.5 and Adaptable theme version 1.7.1 (2018073000) 


How can I create an index of all the forums available on my moodle site? I can create a page and add all the forums manually, but I am looking for more automated ways of doing it with perhaps a count of unread posts in each forums.


Or Perhaps there is a way to have nested forums (like this one) that I am unaware of.


Thanks,

Sa Ku

Average of ratings: -
In reply to Sa Ku

Re: Index of all forums

by Rick Jerz -
Picture of Particularly helpful Moodlers Picture of Testers

One idea is to use custom SQL to create this query, using one of the contributed "forum' queries.

See this link:

https://docs.moodle.org/35/en/ad-hoc_contributed_reports#Forum_Module_Reports

Attachment forums.jpg
Average of ratings: Useful (1)
In reply to Rick Jerz

Re: Index of all forums

by Sa Ku -

Thanks much, Rick. This is great info indeed!

Any pointers on how I can publish the results of these queries on a page? 



In reply to Sa Ku

Re: Index of all forums

by Sa Ku -

I figured out a simple and nice solution to achieve. Posting it for the benefit of the others who might be looking for similar solution. 

Here's the link to ALL the forums that are hosted on your moodle site: 

/mod/forum/index.php

So basically, you just have to point to that page to get a list of all forums available on your moodle site along with Forum name, description, # of discussions, # of unread posts etc.