I have an extension with some assets.
While stickerbundle is generating a proper path to the css and js files, I wonder how I can easily access images?
Is there some kind of getExtensionPath variable I can refer to?
Thanks,
Michi
I have an extension with some assets.
While stickerbundle is generating a proper path to the css and js files, I wonder how I can easily access images?
Is there some kind of getExtensionPath variable I can refer to?
Thanks,
Michi
You know what the extension is called - so we generally just do “/extension/preside-ext-my-extension/assets/images/whatever.jpg”.
We had two extensions with the same name, a replace did the job.
But I wonderered, because sticker is able to get the right path. Thought, there is maybe a trick.