-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle tries to load its JS resources using invalid URL #161
Comments
This is how:
|
My bad :D 🗡️ |
Anyway, thanks for the information. There were many people in the community that had problems with theming in this plugin. CC @patrick477. |
Well the |
We will mention it in the README. Thanks! |
When I enter any form within this bundle (either block form or page form) bundle tries to load its JS resources using invalid URL:
Page at:
http://localhost:8080/app_dev.php/admin/pages/new
Requested resources (with 404 error):
http://localhost:8080/bundles/_themes/[theme_name]/default/bitbagsyliuscmsplugin/js/bitbag-page-slug.js
http://localhost:8080/bundles/_themes/[theme_name]/default/bitbagsyliuscmsplugin/js/bitbag-page-slug.js
Page at:
http://localhost:8080/app_dev.php/admin/blocks/new/image
Requested resources (with 404 error):
http://localhost:8080/bundles/_themes/[theme_name]/default/bitbagsyliuscmsplugin/js/bitbag-block-image-preview.js
http://localhost:8080/bundles/_themes/[theme_name]/default/bitbagsyliuscmsplugin/js/bitbag-block-image-preview.js
Yep, both are requested twice lol. The base path for the resources should be:
/bundles
. This is my directory structure:I'm using:
The text was updated successfully, but these errors were encountered: