Hello @jill, I had this exact same question too. Unfortunately the example plugin you cited is waaaay too complicated for me to understand what it’s doing. Also, the tutor documentation doesn’t make it clear how to map the file you want to edit (e.g. common.py) to a tutor plugin.
I’m thinking the answer here should be something pretty simple like:
etc. Can you correct my syntax there? (because I haven’t been able to figure it out)
(Also I should perhaps be clear that I don’t care about appending to the existing list, I just want it to be the same for every class, with an emphasis on new classes, so that instructors don’t need to set it as a first step when creating a new class.)
But it still didn’t actually change the default values in the Advanced Modules List when an instructor creates a new class! So I feel like probably this isn’t the right variable?
Hi @ABC@stah@jill
It’s not currently possible in Open edX/Tutor to automatically have XBlocks appear in the Advanced section of the unit right when a new course is created.
The ADVANCED_PROBLEM_TYPES.append(…) setting you’ve patched doesn’t control that list in Studio’s “Advanced” component — it only affects the internal Advanced section inside the problem component of unit.It adds the xblock into that list of all courses
Up until the most recent releases (including Sumac), there’s no config, hook, or plugin in Tutor that will auto-populate the Advanced component list for new courses.