How are you dealing with discourse template customizations?


(Alexandre Angelim) #1

Continuing the discussion from Injecting Templates into Templates through plugins - introducing HAQL:

Until @lightyear proposal is incorporated into discourse we’re bound to replace whole template files in our plugins. How are you organizing this? I’m developing a new plugin for each feature I need, but just now I got to a point where I need to override the same template in different plugins. More precisely, I have to override a template that’s already been overridden by a third party plugin.

Are you doing in-house plugins per feature or organizing them in modules inside a big Site Customizations plugin?


(Benjamin Kampmann) #2

there are plugin outlets now. Doesn’t work for all cases but for enough.