-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[4.0] Reminder due to pr #24921. Remove "HTMLHelper::_('bootstrap.framework');" from modules #24922
Comments
Don't know if that helps. |
Finding is not the ""problem"" but to decide if Bootstrap is loaded also for functionalities of the HTML output of the modules. |
So it would need to compare the HTML output produced by the modules listed in my first listing with the content of the same modules when the |
Yes, if everything functions as before. Even if I've learned Joomla 4 core doesn't need JQuery/Bootstrap-JS and everything in core will be replaced somehow by Vanilla scripts it looks like that this isn't the fact yet. Thus I'm in doubt if we can remove these lines. |
I will see if I can find time. But if you find time before me or others, let us known here so we don't do double work. |
@ReLater Meanwhile I am also in doubt if it is as easy as I assumed it to be. Do you know who could help us with that? |
Yes, not easy to test. Time-consuming. I use a plugin that removes bootstrap-*.js in backend. Then compare the output plus functionalities of the backend modules with and without active plugin. I also deactivate other backend modules as far as possible. First result: mod_popular doesn't need bootstrap. BUT then I've found that Now I think it's better to place a pr first for that find in See my related comment: "Even if I've learned Joomla 4 core doesn't need JQuery/Bootstrap-JS and everything in core will be replaced somehow by Vanilla scripts it looks like that this isn't the fact yet." |
Maybe @franz-wohlkoenig knows whom to ping? |
@ReLater sorry, have no idea. |
There is NO point looking at this until the new template is completed |
From my point of view modules should load their dependencies also with other templates but only if needed. The main question is: Will be backend core extensions BS and Jquery free or not?
Yes for chrome |
The backend extensions will be jQuery (direct usages) free. However they won't be Bootstrap free from a CSS perspective. The aim is to make the backend not automatically load the javascript on all pages unless required. |
ToDo
HTMLHelper::_('bootstrap.framework');
The text was updated successfully, but these errors were encountered: