How To / General

Hide specific courses from "My Courses"

  • Netfarm
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago - 8 years 1 month ago #1 by Netfarm
Hello,

as there's no html Id for the courses list, I were wondering if I could hide some specific courses from "my courses" list even if the user is enrolled in it.

I am trying to use some areas of moodle to give some contents to the users, but not as a course.

I did notice, on the href link, there's also a "ItemId" param; is it the actual course ID?

Thanks for your help,
Claudio
Last edit: 8 years 1 month ago by Netfarm.

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #2 by Antonio Durán
Replied by Antonio Durán on topic Hide specific courses from "My Courses"
Hi Claudio.

Currently there is no way to do what you want via config options.

What you could do is create a template override form "my courses" view and/or module, adding code to skip course ids you don't want to show.
Here is some doc about that: www.joomdle.com/wiki/Modifying_Joomdle_look_and_feel
Please let me know if you need any more info.

Please Log in or Create an account to join the conversation.

  • Netfarm
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 1 month ago #3 by Netfarm
Replied by Netfarm on topic Hide specific courses from "My Courses"
Thanks Antonio; i did use this CSS trick: a[href*=course&Id=n"] { display: none};

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #4 by Antonio Durán
Replied by Antonio Durán on topic Hide specific courses from "My Courses"
Great, thanks for sharing. I will take note of that :)

Please Log in or Create an account to join the conversation.