Re: AW: Add CSS/JS to backend theme from plugin

2021-02-19 Thread Nicolas Malin
Hello, What I understand, your can cover your requirement through the decorator extended in your customized theme. By feedback it's more easier to manage each specificity through a dedicated theme that extend the common-theme (or other) instead inject some cross-functional dependencies. But I

AW: Add CSS/JS to backend theme from plugin

2021-02-19 Thread Ingo Wolfmayr
Hi Michael, yes. It is in my working queue. I will create a jira with a proposal when I am ready. Best regards, Ingo -Ursprüngliche Nachricht- Von: Michael Brohl Gesendet: Donnerstag, 18. Februar 2021 23:56 An: user@ofbiz.apache.org Betreff: Re: Add CSS/JS to backend theme from

AW: Add CSS/JS to backend theme from plugin

2021-02-17 Thread Ingo Wolfmayr
:) That’s how I do it right now and it works - that’s fine. Imagine I want to make the plugin availabe to the community. How will I do that? Upload the plugin + theme override? I made friends with the idea of using "portlets" for application dashboards. Defining them in one place and show them

AW: Add CSS/JS to backend theme from plugin

2021-02-16 Thread Ingo Wolfmayr
Hi Michael, that’s what I already did - and yes it works. I am looking for a way to add js/css files to the plugin and make it available in other application. Saying: "Common-theme here are some additional files" Something like: I have a plugin that provides two files - one css and one

AW: Add CSS/JS to backend theme from plugin

2021-02-16 Thread Ingo Wolfmayr
Hi Aditya, I already create my own theme by extending an existing one. It works but I feel quite uncomfortable by creating a new theme for the purpose of adding a single .js file to an existing theme. I was hoping there would be a better solution and handle those things via the plugin.