Public Course with Problems

As per the document : https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/open-release-ironwood.master/configuration/enable_public_course.html

u/s 4.11.4 “Only HTML components, Video components, and course handouts have a “public” view. Unenrolled learners will see a message requesting that they enroll to see more complex content types, such as discussion forums, problem blocks, randomized content blocks, exams, Open Response Assessment, and other XBlocks.”

But when public visitors or unenrolled users see a sub section with Problem Block, they are not able to see the message requesting to enroll. But the content remains blank. Is it desirable?

This happens of ironwood

hello team

Does anyone have a solution for this issue? The problem with the public course is still present.

I’d like to explain the issue I’m facing. I created a public course and added content, including verified-based and audit-based materials. However, when I log out and view it as a public user, the content appears blank.

I believe there should be a message displayed instead of just a blank screen.

Hi Yagnesh, could you share your course export I can probably test and propose a solution for you.

@qasimgulzar Thank You
course.cxmmz3l4 (1).tar.gz (82.1 KB)

I also assume that if you select in course mode, it will not work. However, if you don’t use any course mode, it will work. I checked in the course to add multiple course modes.

@Yagnesh to make content publicly available you need to configure the unit to be available for everyone. if you will be adding it to specific user group it will expect you to be logged in to make it visible. This is how it is implemented and it is not going to give any prompt.

In order to make your content available to public user follow the step as I followed in attached recording.

I hope it will help solving problem you are facing.

@qasimgulzar
My main goal is to ensure that when a unit is in audit mode or another mode, this don’t encounter a blank page. Instead, I want to display a meaningful message that provides

So Public users will see a message . However, to access more detailed content, they will need to log in or register

In this video, you remove the course modes.

when unit have course mode

I also think something like this with unit course mode

Hi @Yagnesh,

I have initiated two pull requests aimed at displaying an authentication error message when the xblock is not publicly accessible. I believe these enhancements will be beneficial.

Please feel free to review and make any changes to the following pull requests:

  1. frontend-app-learning
  2. edx-platform

1 Like