In https://github.com/matomo-org/matomo/pull/14051 we started supporting multiple plugin paths.
There we already rewrite the path to the JS and CSS assets and load them from a different path. But it looks for some reason that a directive templateUrl
is not loaded correctly when the plugin is located in a different path. It's still trying to load the template file eg from $matomoUrl/matomo/plugins/PluginName/angularjs/widgetname/widgetname.html
when instead it should be maybe loaded from $matomoUrl/matomo/../extensions/PluginName/angularjs/widgetname/widgetname.html
I am not sure if it's related but I am trying to use custom plugins folder for some of premium plugins like ABTesting, or SessionsRecording,
When Selecting them from the left menu, nothing is displayed in the main content ( no errors in browser's console / network )
For ABTesting plugin, the following files are 404, i guess because it's not not taking in account custom folders relative path:
Thanks.
Yes it's related to that. Feel free to give the patch a try and let me know if it works 👍
Unfortunately, i am on a Docker environnement right now, so i will wait for the official 3.12.0
image to test if this PR will be included in.
Thanks