Hi Ingo, You may refer to documentation in themes.adoc[1]. Though I am not sure if this is the right solution, maybe you can create your own theme extending the existing one[2]
HTH 1. https://github.com/apache/ofbiz-framework/blob/trunk/themes/docs/themes.adoc 2. https://github.com/apache/ofbiz-framework/blob/trunk/themes/docs/themes.adoc#extends-common-theme Thanks and regards, Aditya Sharma On Tue, Feb 16, 2021 at 5:58 PM Ingo Wolfmayr <[email protected]> wrote: > Hi everybody, > > is it possible to add a javascript/css from an addon to an existing > backend theme. > > Case: I have created a plugin that provides various reports via portlets. > Now I want to use the portlet logic to show those reports on different > places like accounting, catalog a.s.o. Therefore I want the necessary > JS/CSS files loaded for the whole theme - not for the plugin only. > > Long time ago I would have added those scripts via VisualThemeResource :) > If possible I do not want to touch the original theme and I want to avoid > creating a new plugin just for the purpose of providing those filed. > > Every idea would be highly appreciated. > > Best regards, > Ingo >
