Hi!
Is it possible to get multiselect options from a .json hosted inside the plugins folder?
Is there something like url: "{{ site.plugins.url }}myPlugin/myJson.json"
?
Thanks!
Hi!
Is it possible to get multiselect options from a .json hosted inside the plugins folder?
Is there something like url: "{{ site.plugins.url }}myPlugin/myJson.json"
?
Thanks!
Certainly not via a URL, because that folder is not publicly accessible and has no URL. This should work:
"{{ kirby.root('plugins') }} /yourplugin/your-json.json"
That worked, thanks Sonja!