General developer forum

Potential Solutions for Section-0 in Grid Format

Picture of Christian Herasimtschuk
Potential Solutions for Section-0 in Grid Format

Hi Everyone,

This has been brought up a couple times in the past, where folks want to make Section-0 in the Grid format appear ONLY on the main page of the course, but not in the individual Grid sections (with the "one section per page" option selected). Here is a link to a notable discussion of this:

I, too, would like to make Section-0 visible only on the main page, and the discussion linked above seemed promising.  BUT, the solution applies to changing a renderer.php file for the Grid PLUGIN, and I am not sure:

1. If that is still a viable solution in Moodle 3.2.8.

2. If the code may have changed in the past 2 years.

3. How to even remove or nullify these specific lines of code (I am a novice but willing to give this a try!)

Any guidance is greatly appreciated. I spent the past two weeks trying to use CSS to hide Section-0, which works, but I just couldn't get it to hide selectively on just the individual topic pages.



Average of ratings: -