Exe with new question type

This topic contains 3 respuestas, has 3 voices, and was last updated by  HaiAnhJumi Hace 5 años, 8 meses.

  • Author
    Entradas
  • #30655

    Diep Toan
    Member

    Hi all,

    I’m the new at eXe. For my studing, I’m trying to develop the eXe with adding new question types for student test. I’m make stuck at editing common.js file and rebuilding eXe app but that file is not really updated. Can someone help me, thanks?

     

  • #30657

    Ignacio Gros
    Keymaster

    Go to the folder where eXe’s installed and look for this directory: /scripts/idevices/

    There you’ll find some iDevices. Those iDevices have been created using JavaScript instead of Python. You can create new iDevices adding them to that folder. Anything in the “export” folder will be exported. You can create a form to edit the iDevice using the JavaScript files of the “edition” folder.

    Check the “example-idevice”. Just copy it, edit the name of your iDevice in the config.xml file and restart eXe.

    There’s some documentation here (in Spanish only for the moment…).

    I hope it helps.

    We’d love to see your activities. Please share us with us. They might be interesting for other users.

    Thanks!

  • #30661

    Diep Toan
    Member

    Thanks for your quick reply,

    Currently, I created new iDevices by adding new exampleblock.py and exampleidevice.py file following to the current iDevices. I edited renderEdit, renderPreview, renderView method and add some new methods to element.py to render content what I want.

    I’m making stuck at adding new function to check result of student test. Like showFeedback js function in common.js, I really want to implement the new function like that for my new question type idevice.

    May be I will change to use adding new js file in /scripts/idevices/ like what you said.

    Thanks!

     

  • #30705

    HaiAnhJumi
    Member

    I also learned about eXe, looking forward to exchanging experiences and knowledge with everyone

You must be logged in to reply to this topic.

Skip to content