Hi @stah
Unfortunately the article you found is out of date. These instructions should work:
- Create a small Tutor plugin to append your XBlocks to the
settings.ADVANCED_PROBLEM_TYPES
list (see Setting default advanced_modules (xblocks)) .
Example plugin: GitHub - pomegranited/tutor-contrib-enable-feature-flag: Demonstrates how to add a feature flag to Tutor - Add your XBlocks as “extra requirements” to the platform.
The official Tutor docs recommend doing this usingprivate.txt
, but since you have to write a plugin to enable these XBlocks anyway, you can add them to your plugin’spatches/openedx-dockerfile-post-python-requirements
file to keep everything together. - Install your new plugin to your Tutor virtualenv, and enable it.
- Rebuild the
openedx
image by runningtutor images build openedx
(ref).