Comments (9)
I made the following change:
I removed the access restriction from the topic
and put in each activity separately. This worked perfectly
from moodle-format_onetopic.
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.
Parabéns!
from moodle-format_onetopic.
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.
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.
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.
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.
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.
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)
- PHPDoc still mentions "format_base"
- Page does not refresh when moving sections
- Duplication of activitiy in section 0 HOT 4
- Endless redirects on unavailable sections for tutors HOT 3
- Support new core feature: indent acitivity HOT 1
- Content intent inside a topic in course
- Bulk editing in Moodle 4.2 does not work in format_onetopic HOT 2
- Use different/additional css rules to mark active tab HOT 4
- Deprecated template for availability section - Moodle 4.1.5 HOT 1
- Enhancement Request - Add Additional Site-Level Settings
- Section restrictions not showing HOT 1
- Edit Buttons Disappearing
- descriptive / meaningful names for tabs
- "Embedded courseindex" broken
- Moodle 4.4: Failure due to new Hooks API HOT 1
- Unncessary session locking in styles.php HOT 1
- After upgrade to Moodle 4.4, Onetopic throws error trying to require a non-existent format.js from topics plugin. HOT 4
- Plugin formatting in the Space theme HOT 1
- Module scope tabs not visible when entering SCORM Package HOT 1
- Need refresh to display change in section 0 shown before tab HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-format_onetopic.