Courses block not showing Courses/Categories

Courses block not showing Courses/Categories

Aditya Dubay -
回帖数:14

Hi,

I am Using Moodle 4.4+

I create some categories and course:

I added Courses block on Dashboard

(Why Block "Courses" visible in "Classic" theme's "Add Block" section? Why it is not available in other themes, even not available in Boost too)

Why there is no Categories/Courses visible in block??

Please help.

回复Aditya Dubay

Re: Courses block not showing Courses/Categories

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Re your question about why is the Courses block not availabe in Boost, see the setting Unnneeded blocks in the Boost settings page - blocks which are not needed are entered there. You can change it if you want.
回复Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay -
Thanks Mary,
What about my main question?
Also this setting is always on:
回复Aditya Dubay

Re: Courses block not showing Courses/Categories

Aditya Dubay -
Waiting for any solution
回复Aditya Dubay

Re: Courses block not showing Courses/Categories

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
When you go into those courses do you see yourself with the teacher role in there? And when you access the My courses page do you see the courses there?
回复Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay -
Hi Mary

Thanks for reply.
I am main admin of instance.
I create all courses.
That "Auto Enrol admin in new courses" is "On" from beginning and never off.
Before I can see Categories in "Courses" block but this time (Fresh Installation) I cant see Categories/Courses in it.
"My Courses" never show any courses to Admin and that's a bug but Moodle never accept, just like there one of the oldest block is not working but nobody cares.
I create total 7 categories and 100 courses in it.
Now what I have to do is enrol "Admin" in each course manually as I cant "Update" "Admin" and let him enrol in 100 courses through csv (Strange 伤心 )
回复Aditya Dubay

Re: Courses block not showing Courses/Categories

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
DId you create the courses manually? If so then yes, I would have expected the admin to be auto-enrolled. I don't believe it works when using CSV course upload however.
回复Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay -
I create courses through csv and before Moodle 4.4 it works...
回复Aditya Dubay

Re: Courses block not showing Courses/Categories

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
We have a Moodle 4.4 sandbox here and then we have a Moodle 4.3 sandbox here so perhaps you can try with both and compare/contrast?
回复Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay -
Hi Mary,

Why sand box?
Also it is not available for Moodle 4.4+
I delete all (Moodle Instance, Database all)
Download Latest stable version.
Reinstall.
Create Categories and Sub Categories.
Create Courses Manually.
End result is still same.
I am highly disappointed 伤心
 
 
回复Aditya Dubay

Re: Courses block not showing Courses/Categories

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Our 4.4 Sandbox site is on Moodle 4.4 (Build: 20240422) and I don't believe there will be a significant difference between that and 4.4+ which is why I suggested you try with the Courses block on the Sandbox as it is a completely standard site with no custom code. I can't replicate your findings myself on it unfortunately.
回复Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay -
I tried in different account but problem remain the same.
Please try to install latest version as a fresh installation (No upgrade) and check.
Please share steps if you can.
If I am doing something wrong I also need to know.
回复Aditya Dubay

Re: Courses block not showing Courses/Categories

Mary Cooch -
Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Testers的头像 Translators的头像
Sorry I am unable to install Moodle sites myself but if you really believe it to be a bug then you could report it in the tracker and our testers will try for themselves to replicate it.
回复Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay -

Hi Mary,

What I had :

AJEE (Main Category)

1. PHD (Sub Category of AJEE)

1.1 AUJ (Sub Category of PHD)

1.2 CVRUB (Sub Category of PHD)

1.3 RNTUMP (Sub Category of PHD)

MPhil (Sub Category of AJEE)

2.1 CVRUCG (Sub Category of MPhil)

UGPG  (Sub Category of AJEE)

 

Now I changed the structure:

Deleted - AJEE

Created 3 Categories:

PHD (With Sub categories: AUJ, CVRUB and RNTUMP)

MPhil (With Sub Categories: RNTUMP)

UGPG (With Direct courses (No Sub Categories))

Now what I see is:

Courses block Showing All Main Categories (Which I want)

See, my 2 categories still not having Courses Directly they have courses in Sub Categories) and now Courses Block is showing that, why?

If it can show Categories with sub categories then why it is not showing before?

Thanks for the help 微笑