moodleou / moodle-mod_subpage

Subpage module allows you to add Moodle activities onto inner page within course
21 stars 15 forks source link

Topic Description not visible if there are no activities within it #3

Closed aspark21 closed 11 years ago

aspark21 commented 11 years ago

On a subpage when there are no activity/resource in a topic even if the topic has a title and worded description, the topic is not shown.

This means that the topic description and introduction is not visible to students when it should be. screen shot 2013-06-21 at 13 45 01 screen shot 2013-06-21 at 13 45 18

sammarshallou commented 11 years ago

This is actually intentional behaviour. It works best with conditional resources such as resources that are available only to a certain grouping; the idea is that, if a student cannot see any of the content in a section, then there is no point showing them the section.

This made more sense because it was initially developed before Moodle had the option to make section display conditional. Now that Moodle has that option (which I'm not sure works in subpage, but hopefully...), arguably it should be removed, but in our usage here we depend on it for existing material. So I think probably we won't change it, or not soon; sorry.

As a workaround you can use a Label instead of a description for the section, then it contains content so will appear.