Monday, November 10, 2014

How to change templates of Coursebuilder?

1. Add module
This also works for adding personal module to the coursebuilder.

2. You have to understand Jinja template. How it works:
When you  register your own module,  you need to create a handler and inside the handler method, there are get method and post method. It would render the html template of jinja. Inside the method, you could notice that how they set the value of template: for example:
Self. template_value["transient_student"] =  zero

If you understand how these template works, then you could do a lot of customization inside the html page of coursebuilder.

Details:





  

No comments:

Post a Comment