In a Dev category thread titled Hamburger-categories widget does not mount?, Andrew_Dickens reports that while mounting hamburger-menu works, hamburger-categories fails despite following Discourse’s beginner theme guide. merefield initially suspects sidebar settings but later identifies the issue: the hamburger-categories widget expects a categories argument, which the footer outlet doesn’t provide 13. awesomerobot confirms the guide is misleading and provides a fix: {{mount-widget widget="hamburger-categories" args=(hash categories=this.site.categories)}}19, which Andrew_Dickens confirms works. The discussion also reveals outdated documentation: using Discourse.SiteSettings triggers a deprecation warning 20; awesomerobot advises using api.container.lookup('site-settings:main') instead 21. Andrew_Dickens expresses concern about building a custom Discourse plugin for a client, given the outdated docs. awesomerobot acknowledges the guides need updating due to ongoing Ember upgrades, with no firm timeline. The thread highlights that mounting widgets requires understanding their internal data dependencies — not just their names — and that developers should rely on browser console logs and modern Ember practices.
If you look at the guide you can see the plugin outlet takes an attribute showFooter. That’s probably false. Meaning that neither the footer nor the attached widget will show.
In any case why a footer outlet for a header artefact?
Use the plugin outlets theme component to pick a better location imho.
yeah definitely and even more time if the documentation didn’t say “Now, mounting a widget is pretty simple, all you need to know is the widget’s name. That’s it”
Do you know where I can find the most up to date guide, I’m flying around in here trying to find answers but landing on posts that are 4 years old. Is there an actual guide document somewhere?
Yeah I can see how that would be misleading… technically it does mount the widget, but that doesn’t mean the data required by the widget is automatically available.
You can try passing the categories into the widget this way: