I am a teacher, and my institution uses open edx as LMS in my institution. I am developing my course. At the end of my course, I want to congratulate my students for completing the course.
but I want to make the congratulations using text component and my course name appears automatically in the congratulations.
is there a way to do it without writing the course name manually.?
Currently, it’s not possible to dynamically display the course name using the standard text components in Open edX. However, for this kind of requirement, you can develop a custom XBlock that allows dynamic text to be inserted.
For example, with a custom XBlock, you could create a message like:
Congratulations, <<Student Name>>!
You have achieved a grade of <<Score>> in <<Course Name>> and successfully completed the course!
This would automatically pull in the student’s name, their score, and the course name, providing a personalized congratulatory message.
If you’re comfortable with development or have access to technical resources, this approach gives you full flexibility. Feel free to reach out if you need more details on how to get started with building custom XBlocks!
In addition to Mahendra’s reply, I would like to share this article I found that you might find helpful. It explains how XBlocks work, as well as the prerequisites for developing custom XBlocks.