A developer, NateDhaliwal, seeks help with a Discourse theme component, initially facing issues with settings not appearing and an invalid about.json. Moin suggests checking syntax in settings.yml, while merefield identifies a missing comma in about.json. Nate later struggles with displaying a variable, prompting merefield to advise using proper components and the html-safe helper. Moin provides guidance on plugin outlets and template naming conventions, while merefield recommends reading Ember.js guides. Nate eventually gets it working using a <script> tag with Handlebars, then Lilly shares a pull request with a cleaner, HBS-based structure, which Nate successfully implements 17.
Whoops, just realised I was clicking on ‘Create new’ instead of importing it…
But now, when I try using the URL, it says that about.json is invalid or doesn’t exist, asking me if it is a theme.
About.json:
You can use the (deprecated) Plugin outlet locations theme component to find the names and locations of the plugin outlets. “above-main-container” for example is the top one above the topic list, but not above the sidebar.
So… I managed to get it working without using a hbs file, but instead using the <script> tag with handlebars, and it now works.
I use it like this for now, but I’ll continue to try using a hbs file instead.