Hide content folder

Hide content folder

por Marc Poirier -
Número de respostas: 13

Hello, beside just disabling the content folder, is there a way to remove the folder icon. I have a client that uses Moodle and some of his teachers are trying to use the content folder to upload content for their courses (like a .doc, etc.) aimed at the students.

It would be less confusing if the folder wasn't there at all, but I don't want to delete it  completely, in case down the road they want to use it.

thx!

Marc.

Media de puntuacións: -
En resposta a Marc Poirier

Re: Hide content folder

por Howard Miller -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Particularly helpful Moodlers Imaxe de Peer reviewers Imaxe de Plugin developers
En resposta a Howard Miller

Re: Hide content folder

por Marc Poirier -
hello Howard!

No, i'm talking about the actual "tab" to the left of the screen underneath the private files, you have "content bank", i would like this to disappear so that no one can mistakenly think they can add any type of content to it.
En resposta a Marc Poirier

Re: Hide content folder

por Howard Miller -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Particularly helpful Moodlers Imaxe de Peer reviewers Imaxe de Plugin developers
Oh - I'd never noticed this feature before. It was new in 3.9 apparently. I too can't seem to find a way to disable it (I've tried both disabling the repository and the role capabilities).

That sounds like a bug or an oversight. I'll have a dig in the code later on.
Media de puntuacións:Useful (2)
En resposta a Marc Poirier

Re: Hide content folder

por Joost Elshoff -
Imaxe de Particularly helpful Moodlers Imaxe de Testers
Hi Marc,

The Content Bank feature was key in the integration of H5P interactive content into Moodle core. Although you could tweak the nav bar with some Boost Navigation Fumbling (plugin), I don't think a tech approach is the solution to this problem. Instead, try to emphasize the use and purpose of the content bank for teaching staff: it's there for them to create interactive content.

If the staff want their students to upload files to a course, consider the Student Folder activity if no assessment is needed, or the Assignment activity if assessment and feedback are required.

But... if you do want to tinker with the code, consider the following:
core code mods are never a good idea
after a core code mod, upgrading will be problematic

You could try disabling the content bank access in the Teacher (editingteacher) role, or renaming the label to something understandable for your staff in Language customization.
En resposta a Joost Elshoff

Re: Hide content folder

por Howard Miller -
Imaxe de Core developers Imaxe de Documentation writers Imaxe de Particularly helpful Moodlers Imaxe de Peer reviewers Imaxe de Plugin developers
I've realised that the link might be cleverer than I thought. I haven't tried it but I suspect that removing content bank capabilities from the teacher role will make it go away if you don't need it.
En resposta a Joost Elshoff

Re: Hide content folder

por Marc Poirier -
Hello Joost, first off, no way for me to fiddle in the code, that was not an option to start with ;). But I do think that having the ability to show or hide these tabs should be an option. If by example I disable the content bank in the plugins/content bank, then it should hide itself. I did do an overview of what Moodle could do for them, but as a service provider, it is not my role to tell them what they should or not do with their product, but rather try to find a solution, to what seem for them like "a big deal" and really yesterday it seemed like it was catastrophic LOL!!!. The option I had for them was, as you mentioned, disabling access to the content bank, but the question came back "why is the menu item still there" ;) I didn't think you could actually change the name of it, so that might actually be a good alternative...

cheers!
En resposta a Marc Poirier

Re: Hide content folder

por Randy Thornton -
Imaxe de Documentation writers
Marc,

If you don't want to disable it completely by setting the permissions, as Helen says, but you only want to hide the menu item, then you can use the "Boost navigation fumbling" plugin to control that menu: https://moodle.org/plugins/local_boostnavigation
Media de puntuacións:Useful (1)
En resposta a Randy Thornton

Re: Hide content folder

por Marc Poirier -
Thx Randy, yes i'll definitely take a look at it...

cheers!

Marc.
En resposta a Marc Poirier

Re: Hide content folder

por Marc Poirier -

Works like a charm!! OMG!! I now look like a superhero to my client ;)

Thank you all for your help! greatly appreciated! 

cheers!

Marc.