Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

topic with restricted access is not displayed for student #60

Closed
giselebrugger opened this issue Jan 4, 2019 · 9 comments
Closed

topic with restricted access is not displayed for student #60

giselebrugger opened this issue Jan 4, 2019 · 9 comments

Comments

@giselebrugger
Copy link

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)
restricao1

but student does not visualize the restriction and does not have access to the topic

topic2

and at the end the link to the top topic (topic 5)
topico3

if the format of the course is the Topics or buttom for example the topic 5 is displayed with the access restrictions

Format: Button
button

Format: Topic

topic

@giselebrugger
Copy link
Author

I made the following change:
I removed the access restriction from the topic
and put in each activity separately. This worked perfectly
onetopicactivity

@jprovasnik
Copy link

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...

@marcospaulos
Copy link

Parabéns!

@davidherney
Copy link
Owner

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

@izendegi
Copy link
Contributor

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?

@davidherney
Copy link
Owner

davidherney commented Dec 16, 2019

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?

@izendegi
Copy link
Contributor

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.

@davidherney
Copy link
Owner

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

@izendegi
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants