I’m trying to do something like this and have my dev environment, but i’m not familiar how to go about this?
Do i use this to create a new plugin for my site? or is it embedded into one of the files?
I’m trying to do something like this and have my dev environment, but i’m not familiar how to go about this?
Do i use this to create a new plugin for my site? or is it embedded into one of the files?
You don’t need to create a plugin for that anymore. You can do it in a theme component.
Maybe this will help: https://github.com/pfaffman/discourse-custom-homepage-for-groups/blob/main/javascripts/discourse/initializers/custom-homepage-set.js.es6
Thanks Jay! Have been trying this for days.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.