Closed giselebrugger closed 3 years ago
I made the following change: I removed the access restriction from the topic and put in each activity separately. This worked perfectly
In 3.4, using San Juan, if the course settings are set to "Hidden sections are completely invisible" then students do not see any of the restricted tab sections at all, even if the restriction eye is not clicked in that section.
When the course settings are set to "Hidden Sections are Shown in Collapsed form" then the students always see the restricted tab sections, even if the restriction eye IS clicked in that section.
Is this part of this bug? It's not expected behavior based on how other course formats work...
Parabéns!
I try to use generic moodle behaviors but some features are different between formats. Hidden tabs are specials for the onetopic format and the current behavior is intentional.
However, according to your suggestions, I added a help icon into the tabs with information about section available restrictions. This feature is now an option into the "Hidden sections" course setting parameter.
Thanks for your comments and please try it.
Saludos
Hi David,
I've tried that new functionality and works fine for teachers, but students can't click on the help icon whatever the visibility of the restriction is set; shouldn't the icon be clickable by students at least if the visibility of the restriction is greyed-out or I've misunderstood it?
Hi @izendegi... are you sure? I test it in my installation and it work fine to students. Do you have any error in the JS console? What theme you use? Do you hide the restriction?
It happens to me on Moodle 3.8 with Boost and Fordson themes, and I don't see any errors in the console.
I've tried both showing and hiding the restriction and for the students the help icon is never clickable, not logging as a student nor logging as a teacher and then switching the role.
Thanks @izendegi... You're right. I checked with other themes and It is a problem with a CSS property. I just published a new release fixing this.
Saludos
Hi @davidherney
Yes, the new release fixes it and works as expected, now the help icon is clickable for students when the restriction is not hidden.
Thanks!
Moodle: Moodle 3.5 (Build: 20180517) onetopic: 2018010604 Theme tested: boost , fordson and moove
if a topic has access restriction in the onetopic format is not displayed
See: to access topic 5 the student should complete the poll (name: enquete)
but student does not visualize the restriction and does not have access to the topic
and at the end the link to the top topic (topic 5)
if the format of the course is the Topics or buttom for example the topic 5 is displayed with the access restrictions
Format: Button
Format: Topic