פרסומים שנוצרו על-ידי Howard Miller

Moodle in English -> General developer forum -> 5.1 Bootstrap woes -> 5.1 Bootstrap woes

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers

Can somebody explain this namespaced thing to me like I'm 5 because I really don't understand it.

I was under the impression that older plugins with Bootstrap 4 should "just work" for the moment, but I take it this is not the case. The migration document is not very clear. Well, not to me anyway.
 
EDIT: 
Is it as simple as data- attributes have gained a -bs- in the middle? My concern is that I don't want to have a different 4.5 and 5.1 version of the plugin if I can possibly avoid it. 

Moodle in English -> General developer forum -> 5.1 Bootstrap woes -> 5.1 Bootstrap woes

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
I've got nothing against AI - it's just shamed me by find all sorts of performance issues that I should really have spotted myself - but I'm keen to understand where I'm going wrong.

My feeling is that there should be some javascript on the page that is missing. I believe that the JQuery dependency has been removed and replaced with "something" and my theory is that the latter is missing. The (limited) docs for this stuff don't mention how to make sure your pages are set up properly for this transitional Bootstrap stuff to work properly. I'm effectively rolling my own javascript (not using Moodle templates) so that might be the problem.

Moodle in English -> General developer forum -> 5.1 Bootstrap woes

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers

I know this is a bit vague - I haven't done much investigation yet.

I tried one of my custom plugins in 5.1 that had been previously working in 4.5. It's very heavy on Bootstrap, lots of modals, drop-downs and so forth. I was expecting that it would more or less work as I understand that there is some code to make the jump between Bootstrap 4 and 5. 

However, it's completely screwed up. Drop downs no longer work. Modals are in the wrong place. Tables had completely different styling and so on. 

Before I start digging, have I missed something? Is there something I need to do to get Bootstrap 4 compatibility? This is using the vanilla Boost theme, btw

Ta!

ממוצע דרוגים: -

Moodle in English -> General help -> How to make a moodle account not in my course -> How to make a moodle account not in my course

על ידי Howard Miller בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
If the email is in use then they have existing accounts. They should probably try "lost password". If none of this results in them getting an email then your email configuration in Moodle is wrong, or has gone wrong. Fixing that depends on your email settings, what changed and so on.