-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.5.0
-
-
MOODLE_405_STABLE
-
Moodle Apps Sprint 2025-I1.2, Moodle Apps Sprint 2025-I1.3
Hi,
we are using a database as a staff panel to show all teachers at our school. Some fields of the database contain contact information. So I created links for those fields with simple link tags (<a>) in the templates, like the official documentation says.
Here are two examples:
<div class="colleague-entry-value mt-4">
<span class="colleague-entry-value-title font-weight-bold">[Email-Adresse#name]]</span>
<p>
<a href="mailto:[[Email-Adresse]]">[[Email-Adresse]]</a>
</p>
</div>
<div class="colleague-entry-value mt-4">
<span class="colleague-entry-value-title font-weight-bold">[Threema-ID#name]]</span>
<p>
<a href="https://threema.id/[[Threema-ID]]">[[Threema-ID]]</a>
</p>
</div>
In the browser the links are working fine, but the Moodle app just shows an error message: "Template has some errors and cannot be displayed."
It would be really nice, if the links would work both in the browser and the app. At least it should not display an error message.
Thanks in advance,
Christian Wichmann