I’m still new to Discourse, but learning more about how to code on top of it to customize things. I’m trying to learn the best way to insert code in particular spots on a page (more targeted than in a general outlet area). It looks like I’ll have to override the template that controls that spot.
I take that to mean that, whether I do it in the area of my customize dashboard, or in a separate github repo I’ll use as a theme, I will have to:
- Find the right template to edit
- Reprint the whole template wherever I am doing my coding (dashboard, repo, etc.), and
- make the changes I want to the template
Step 1 is proving to be a hurdle. How do I find the right template to edit?
As an example, say I want to add a line to each group listing on the group index page (the equivalent of this page). Where is the template for that? My best guess is that it’s the group card templates template, but I’m not sure, especially because I’m brand new to Ember.
Is there a more sure fire way for me to identify the right template?