The OP had asked if there is a feature to add a specific question form a
library. The randomized content block randomly selects a certain number of
questions from a library.

We have a use case where there is a library of questions, and we want to
select a specific question from that library. This thread says it is
possible to modify the random content block. I could not figure out how to
do this. Any help will be appreciated.

Regards,
SP

On Thu, Dec 13, 2018 at 11:45 PM Ernesto Sanchez <sberne...@gmail.com>
wrote:

> Yes, its working.
>
>
> https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/exercises_tools/randomized_content_blocks.html#add-a-randomized-content-block-to-your-course
>
> El miércoles, 12 de diciembre de 2018, 8:21:57 (UTC-6), Suryaprakash
> Kompalli escribió:
>>
>> Hello:
>>            Did this feature get implemented?
>>
>> Regards,
>> SP
>>
>> On Wednesday, July 18, 2018 at 8:04:28 PM UTC+5:30, Alameh wrote:
>>>
>>> Hello
>>> I am working on a smiliar problem
>>> All you  have to do , is to modify the method that make this selection
>>> which is
>>> make_selection
>>> you can find it on:
>>> edx-platform/common/lib/xmodule/xmodule/library_content_module.py
>>>
>>> It is responsable of returning the random contents from a library.
>>>
>>> Regards
>>>
>>> On Wednesday, 11 July 2018 15:33:34 UTC+2, c...@edisonx.academy wrote:
>>>>
>>>> Is there a way to stop the randomization and only pick the first n
>>>> number of questions from the library? The question numbers are jumbled when
>>>> it randomizes and I need the Xblock to always pick the first n number of
>>>> questions without the randomization logic.
>>>>
>>>>
>>>>
>>>>
>>>> On Tuesday, April 28, 2015 at 9:54:31 PM UTC+5:30, Andrea Russo wrote:
>>>>>
>>>>> Hi.
>>>>>
>>>>> I'm using content library to give teachers a set of questions that
>>>>> they can choose and insert in their courses.
>>>>> Unfortunately, i see that randomized content block allows to take
>>>>> questions only in a random way.
>>>>>
>>>>> I'm a developer and i would like to develop a xblock that allows
>>>>> teacher to choose questions from content library.
>>>>> Is it possible?
>>>>>
>>>>> Thanks a lot.
>>>>>
>>>>> Andrea.
>>>>>
>>>> --
> You received this message because you are subscribed to the Google Groups
> "General Open edX discussion" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/edx-code/2b0ad933-081d-433d-9780-6aefb6fe13ec%40googlegroups.com
> <https://groups.google.com/d/msgid/edx-code/2b0ad933-081d-433d-9780-6aefb6fe13ec%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Dr. Suryaprakash Kompalli
http://sites.google.com/site/neosurya/
http://lifeearthlife.wordpress.com/

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/CAM80%2BbOqSL%3D3tXnSQsDqpsBS_Qnd_fGupUqstbGTJ9gVg8U4dw%40mail.gmail.com.

Reply via email to