Template overrides no longer working

After I upgraded our instance from 2.9.0-beta.5 to 2.9.0-beta.9, our custom override of the pinned banner is no longer working. I’ve tried out the other examples listed in Developing Discourse Themes & Theme Components and while the plugin outlets still work, overriding entire handlebars themes does not work.

To reproduce, include something like this in your theme custom html/css

<script type="text/x-handlebars" data-template-name="components/discourse-banner">
<div style="height: 25px; width: 25px;background: red"></div>
</script>

which should replace the banner with a red box. However, nothing happens.

I’d appreciate any help to debug this further

1 Like

Thanks for the report @theSuess. This fix should hit tests-passed in about 20 minutes

https://github.com/discourse/discourse/pull/18178

6 Likes

This topic was automatically closed after 23 hours. New replies are no longer allowed.