mbcahyono shares an example plugin to override the default Activity Summary template in Discourse, providing a GitHub link and screenshots 1. Mark_Wass seeks advice on overriding a different template, comments.html.erb, and later confirms success, thanking mbcahyono3. thoka notes the original repo is no longer available, but Mark_Wass directs to a public discussion with the relevant details 5.
Danke für die Bereitstellung deines Beispiel-Plugins. Ich versuche, etwas Ähnliches zu tun. Ich muss die Datei /app/views/embed/comments.html.erb durch diejenige in meinem Plugin ersetzen/überschreiben.
Ich bin mir nicht sicher, warum das nicht funktioniert. Ich dachte, EmbedController wäre die richtige Klasse, aber offensichtlich liege ich falsch. Hast du irgendwelche Vorschläge?