I have a question if it’s possible to upload one image for a category and use that same uploaded image for the subcategories and subsubcategories. Below is the structure
Categories A…D have an image for the category. Navigating to the first level shows the image of that category, going to the 3rd level does not show the image so I have to add it manually. I unfortunately have a lot of categories (not my choice) so it’s a lot of work and it eats disk space on the server (call me old-fashioned, I’m used to working with stuff with very limited resources).
Inheritance would be first price. Other ways to achieve that I only need to upload the image once and preferably not have to edit every subsub category?
Note that I’m a total beginner with Discourse, currently revamping an existing Discourse based site.
The trailing semicolons keep rails from putting the output in a viewer, so you can paste all three lines at once. You might omit them when you try this out. You should make a backup and be willing to restore it if you’re not trying this first on some kind of test or staging site.
You can suggest that your overloards read It’s Time We Talked About Tags. Or maybe there is some good reason for all of the subcategories. Unless you need to limit access to those subcategories or people will want to watch/mute those categories, they are probably doing to make things worse for everyone (except the person who gets bragging rights that their bad idea was the one that was accepted by the Whole Company).
In that case you could contrive to do something similar with the API, but you’re on your own for that. You’d start with Reverse engineer the Discourse API. . .