davidherney / moodle-format_onetopic

Course format Onetopic to LMS Moodle
GNU General Public License v3.0
19 stars 45 forks source link

Render Onetopic templates to prevent section title appearing when a section is hidden/shown #199

Open james-cnz opened 2 weeks ago

james-cnz commented 2 weeks ago

When a section is hidden or shown, the section title appears on the page. I think this is due to the default Moodle section template being rendered, and this patch should fix it.

davidherney commented 2 weeks ago

Hi @james-cnz ...

Please share an explanatory image or information to replicate it because the case is not clear to me.

Gracias

Saludos

james-cnz commented 2 weeks ago

On a Onetopic page normally, the section title is only shown in the tab (file onetopic_normal.png). When I click on the section action menu and Show topic or Hide topic, then the section title is shown on the page below the tab too (file onetopic_after_hide_section.png). onetopic_normal onetopic_after_hide_section