Hi, Felipe!

There's no guide for edX development, sadly.

Until very recently multiple choice problems were part of an XModule rather 
than an XBlock.  You'll find most of the relevant code in 
/common/lib/capa/capa in the files responsetypes.py and capa_problem.py . 
If you're running a more recent release, you might want to check out the 
pull request that made the change: 
https://github.com/edx/edx-platform/pull/20023 

Multiple choice problems are actually quite fancy, with the ability to 
shuffle responses, create answer pools, give partial credit, etc. You might 
find drop-down problems (aka "OptionResponse") to be easier to understand 
if you want to start simple.

Also, you might want to ask this over at the new discussion site! 
https://discuss.openedx.org/c/development


On Wednesday, September 18, 2019 at 9:50:23 PM UTC-4, Felipe Torres wrote:
>
> Hi,
>
> I've been browsing through the docs but haven't found a clear guide on how 
> I could extend the functionality for the problem component, specifically 
> the multiple choice single answer.
> The basic functionality relates to the hint and feedback component but I 
> want to see how it actually works before trying to implement my own problem 
> component.
>
> So my main questions are:
> Is there any guide on how to extend the problem/component?
> If this component is not an XBlock could someone point out any reference 
> to other component that is an XBlock that deals with similar logic?
>
> Thanks for any help you can provide.
>

-- 
***Please note! This Google Group has been deprecated - visit 
https://discuss.openedx.org/
--- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/493ba091-ee19-4487-978b-36ab4be2aefb%40googlegroups.com.

Reply via email to