Past guides like this one are out of date and inaccurate as they were written for a pre-tutor world, and the cited Django admin pages don’t appear to exist anymore.
I attempted this on Nutmeg, with tutor, version 14.0.3, and the indigo theme.
I created a tutor plugin .local/share/tutor-plugins/custom_certificate.yml like:
---
name: custom_certificate
version: 0.1.0
patches:
lms-env: |
"CUSTOM_CERTIFICATE_TEMPLATES_ENABLED": True
did tutor plugins enable custom_certificate
, and did tutor config save
I did cp -r edx-platform/lms/templates/certificates/ indigo/theme/lms/templates/
as directed here to include the baseline certificate information into the custom theme (since it’s not there by default).
I then edited indigo/theme/lms/templates/certificates/_about-accomplishments.html
(and some other files) to have a <h1>CAN YOU SEE THIS 1</h1>
line embedded in it
Then I ran
tutor plugins enable indigo
(even though it was already enabled)
time tutor images build openedx
tutor local quickstart
Note: The indigo instructions say to do tutor local do settheme indigo
but I just get Error: No such command 'do'.
, But apparently tutor local settheme indigo
seems to work.
However, at the end of all this, I don’t see my change anywhere in the certificate when I preview it for a class. It still just looks like the default. So what’s the right way to set a custom theme these days?