Implementation plan for new Moodle template scheme
While doing a Google search for Moodle templates to see if anyone else was writing on the topic, I came across a Moodle.com development plan for implementing templates in Moodle across the board … from 2004!
A template is a file that looks like XHTML but contains some embedded commands wherever data is to inserted. These commands may include presentation logic, but not program logic. Presentation logic includes how to lay out collections of data that is given to it, but will not create or select any data. Here is a simple example that shows the difference:
The template scheme outlined is in this document sounds a lot like the plan I’d like to see carried forward.
And, it doesn’t surprise me considering Martin’s general agreement with Urs in last month’s developer meeting.
I think, no matter what, some sort of template system will be implemented. Whether it will give theme developers the granular control that we’d like is still yet to be seen.









