created custom bundle not loading ext js chnages on UI #16857
-
Hi , I have added one custom bundle inside bundles folder using pimcore bundle generate command ,bundle is installed and enabled and controller routes are working but when doing below change in startup.js its not loading in the UI, this '/bundles/custom/js/pimcore/startup.js', path is already added in customBundle.php inside getJsPaths method. pimcore.registerNS("pimcore.plugin.CustomBundle"); pimcore.plugin.CustomBundle = Class.create(pimcore.plugin.admin, {
}); var CustomBundlePlugin = new pimcore.plugin.CustomBundle(); Kindly suggest if anything i am missing .the pimcore version is 10.5 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @shubhangi101092 - you must also load the JS file via Event:
If this does not work either, add
|
Beta Was this translation helpful? Give feedback.
-
Thanks you so much @skoch98 after adding ?_dc=1 it worked out ! Hope this solution will help to many ! |
Beta Was this translation helpful? Give feedback.
Hi @shubhangi101092 - you must also load the JS file via Event:
If this does not work either, add
?_dc=1
after the file path: