Courses block not showing Courses/Categories

Courses block not showing Courses/Categories

Aditya Dubay發表於
Number of replies: 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.

評比平均分數: -
In reply to 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.
In reply to Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay發表於
Thanks Mary,
What about my main question?
Also this setting is always on:
In reply to Aditya Dubay

Re: Courses block not showing Courses/Categories

Aditya Dubay發表於
Waiting for any solution
In reply to 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?
In reply to 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 傷心 )
In reply to 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.
In reply to Mary Cooch

Re: Courses block not showing Courses/Categories

Aditya Dubay發表於
I create courses through csv and before Moodle 4.4 it works...
In reply to 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?
In reply to 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 傷心
 
 
In reply to 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.
In reply to 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.
In reply to 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.
In reply to 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 微笑