JQ331
February 6, 2022, 9:39pm
8
HI. I’m trying to get a service to work in discourse. I originally asked the question in this topic, but then thought it made more sense to create a new topic for it:
I want to use a service in a theme component I am building. If services are only available in plugins, I can build a plugin as well. Goal is to connect two different plugin outlets - press a button in one outlet, and have that button press picked up by the other outlet.
How can I properly register a service in Discourse? I’ve followed the topic here , and the related plugin code on github, but I’m not able to get it to work.
I think the missing piece is that my theme component is not recognizin…