Manchmal reichen Site-Einstellungen nicht als Admin-Oberfläche für dein Plugin aus, damit es so funktioniert, wie du es möchtest. Wenn du beispielsweise das discourse-akismet-Plugin installierst, hast du vielleicht bemerkt, dass es einen Navigationseintrag im Admin-Bereich für Plugins in deinem Discourse hinzufügt:
@eviltrout nope, it doesn’t work. I believe @ladydanger is also facing the same problem.
nothing appears in the site settings or plugins tabs.
I tried both following the instructions as well as symlink-ing your plugin (dl-ed from github).
I then tried to create server.en.yml, client.en.yml, settings.yml following the format of other plugins, but the image wouldn’t render anyhow.
probably something wrong with the …route-map.js.es6 or config files.
interestingly enough, akismet’s plugin does work for me.
oh now this is an interesting finding - apparently our ad plugins were interfering with the purple-tentacle plugin. or the other way round. it works now, after having removed the ad plugin files.
it now works with our ad plugins! possibly some minor bug yesterday. all is good!
@sam, what’s the difference between rm -rf tmp and rm -fr /tmp/cache
One thing I really should have warned you about is I started raising errors on ember deprecations. We are really working towards upgrading our version of Ember soon and I wanted to make sure developers caught them. It’s possible your plugin has a deprecation or two and is now raising an error with the latest version of Discourse.
If you can’t figure out how to fix the deprecation, it’s okay to temporarily disable it in the Discourse working directory you are using. Try removing these two lines.
I was a bit surprised to see the file named “en.yml” but figured either eviltrout knew something I didn’t (which I’m sure he does … anyway) or that maybe something had changed the way things worked.
I’m guessing that what Robin meant was client,en.yml because that works for me.
the file goes in the plugins config/locales folder
Thanks I’ll try that after I get my dev environment setup on the xeon, went through hell getting ubuntu 16.04 to work right with my hardware. Turned out it wasn’t the server mobo, but the new nvidia card.
Yea I meant I put all the directories listed hierarchically starting with the plugins folder. Was wondering if for some reason that last file went elsewhere.
Is there any way I can change a global plugin setting, say, a siteSetting, from here?
I need admins to be able to use this interface to add data into a global array.