Sandra, I don’t know how you did it, but it truly is a masterpiece!
The more I use it, the more I discover what it can do. After spending some time digging into the PHP source files and Twig templates, I’ve realised you can build almost any custom student report card—so long as the underlying data is structured and available.
Most of the reports I create use the Student Enrollment context, since the Reporting Cycle context already comes with a solid set of templates. I’m also finding that many schools want to pull data directly from the Markbook and Attendance modules, which has been a great use case for custom templates.
Over the next few days, I’ll be sharing a few examples I’ve developed—some for schools, some from my own exploration. Of course, none will contain any real student data.
This first example is for a primary school. This is a simple example, but it’s 500 lines of Template Code.
Thanks Tieku for sharing it’s incredibly helpful for schools to see just what’s possible for Reports. As you’ve discovered, the pre-made templates only scratch the surface, it’s great to hear you’re getting deeper into what it can do.
This school has three sections: Primary (Years 1–6), Lower Secondary (Years 7–9), and IGCSE (Years 10-11).
One challenge I ran into was how to keep the reports separate but consistent across all three sections without maintaining three different templates.
It turns out Twig makes this much easier than I expected. By checking the student’s Year Group, you can conditionally show or hide sections of the report and keep everything inside a single template. Here’s how I structured mine:
• Cover Page: All (sections)
• Values Page: All
• Student Information: All
• Cambridge Scores: Primary & Lower Secondary
• Grade Key: IGCSE
• Core/Special Subjects Split: Primary
• Lower Secondary Grades: Lower Secondary
• IGCSE Grades: IGCSE
• Teacher Comments: Lower Secondary & IGCSE
• ATL: Primary
• Behavior Records: Lower Secondary & IGCSE
• Homeroom Teacher’s Comments: All
• Signature Block: All
Below are the last couple of pages from the IGCSE report as an example.