Code Monkey home page Code Monkey logo

Comments (9)

giselebrugger avatar giselebrugger commented on August 13, 2024

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

from moodle-format_onetopic.

jprovasnik avatar jprovasnik commented on August 13, 2024

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

from moodle-format_onetopic.

marcospaulos avatar marcospaulos commented on August 13, 2024

Parabéns!

from moodle-format_onetopic.

davidherney avatar davidherney commented on August 13, 2024

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

from moodle-format_onetopic.

izendegi avatar izendegi commented on August 13, 2024

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?

from moodle-format_onetopic.

davidherney avatar davidherney commented on August 13, 2024

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?

from moodle-format_onetopic.

izendegi avatar izendegi commented on August 13, 2024

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.

from moodle-format_onetopic.

davidherney avatar davidherney commented on August 13, 2024

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

from moodle-format_onetopic.

izendegi avatar izendegi commented on August 13, 2024

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!

from moodle-format_onetopic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.