This XBlock allows Learners to
Static assesets entries can be found in XBlockFragmentBuilderMixin, which includes static_js, static_js_init and template names
Fields for XBlock can be added in XBlockFieldsMixin
Student view context can be updated in ModalViewMixin
Install the requirements into the python virtual environment of your
edx-platform installation by running the following command from the
root folder:
pip install -e git@github.com:PakistanX/pakx-xyz-xblock.git@release-v0.1.0#egg=pakx_xyz
You can enable the PakX XYZ XBlock in studio through the advanced settings.
- From the main page of a specific course, navigate to
Settings -> Advanced Settingsfrom the top menu. - Check for the
advanced_modulespolicy key, and add"pakx_xyz". - Click the
"Save changes"button.
The PakistanX XYZ .... Add the PakistanX XYZ
component to a lesson, then click the EDIT button.
Details here
Details here
python manage.py runserver 8000
Access it at
http://localhost:8000/ http://localhost:8000.

