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?
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1326 | 9 years ago | ||
| 2 | 921 | 9 years ago | ||
| 2 | 4050 | 9 years ago | ||
| 1 | 2928 | 9 years ago | ||
| 3 | 1107 | 9 years ago |