Hello there,
is there some way to overwrite the plugin templates ( in this case “CookieNotice”) via theme?
Best regards,
Michael
Hello there,
is there some way to overwrite the plugin templates ( in this case “CookieNotice”) via theme?
Best regards,
Michael
Oh, I just saw it is the JS-File i need to overwrite =/. Sorry.
Is there any possibility to do this?
Twig files can be overwritten by putting them in your theme. Other plugin assets, no. You need to fork the plugin.
I have another solution in mind. I analysed the plugin. The problem lies within a js file. So I looked up your API-doc and saw that the “assets”-object can reset JS-Files. Am I able to exchange the JS-File with my own in some Event within my theme?