You can get pretty far with just CSS changes, but the 3rd party Bootswatches only provide CSS to work with only Bootstrap HTML. Many bits of Moodle currently require that CSS to be rewritten to match existing Moodle HTML, which is (one of the main reasons) why we use .less.
One simple way to explore this is to install this bookmarklet. It'll apply the bootswatch CSS over the top of any site e.g. Moodle with a Bootstrap theme. The bits with compatible HTML should work perfectly, while other areas will only partially work.
http://news.bootswatch.com/post/29555952123/a-bookmarklet-for-bootswatch
That highlights the bits you'd have to patch yourself if you want to stick with CSS.
David Scotson
Posts made by David Scotson
Hi Eduardo,
I don't think this is a Bootstrap issue as changing to the standard theme in 2.4 I see the same thing happen.
And in 2.3, which has the same URL format as your first example, I still see the page refresh.
Sometimes it's hard to see the refresh if you've not scrolled down the page before you click, maybe that's what you're seeing?
I don't think this is a Bootstrap issue as changing to the standard theme in 2.4 I see the same thing happen.
And in 2.3, which has the same URL format as your first example, I still see the page refresh.
Sometimes it's hard to see the refresh if you've not scrolled down the page before you click, maybe that's what you're seeing?
Yes. Swapping out the YUI Bootstrap javascript files and replacing them with JQuery + standard Bootstrap javascript files should be the only change necessary. All the HTML side is the exact same. So it can easily be a theme setting, or you can create a child theme that only uses JQuery (for Bootstrap stuff at least, all the core Moodle stuff still uses YUI).
I believe that Bas is currently looking at how to integrate JQuery Bootstrap in the official 2.5 way that Gareth mentions, but adding it to 2.4 shouldn't be a big deal either as he's done it before. Following what he does is probably the best way forward if you're interested in this.
I believe that Bas is currently looking at how to integrate JQuery Bootstrap in the official 2.5 way that Gareth mentions, but adding it to 2.4 shouldn't be a big deal either as he's done it before. Following what he does is probably the best way forward if you're interested in this.
I've not tried it yet but it should be possible. I think a future version of the theme you link to will have this as a theme setting, so it'll just be a matter of (un)ticking a checkbox.
Is it just a coincidence that it's roughly in line with the docked settings block, which isn't present before you log in?