Posts made by David Scotson

You're right, it looks like a bug in the SCORM module, they've hardcoded a link to their style sheet:

So not only can't you opt out of that file, it won't be compiled and compressed with the other CSS that Moodle uses -- edit: actually it will as it's output twice, once in the compiled and compressed CSS, and once again on it's own.

(And while I'm on the subject, why is the original CSS layed out in a more compact for than the big CSS file. I would have assumed, if it it touched it at all then it would be compressing it, but it seems to be adding line endings semi-randomly, presumably to make it look nicer?)

Yes, with your hint I took a second look at the code and got this to work:

$THEME->plugins_exclude_sheets = array('mod' => array('scorm'));

so if the CSS file is referenced as mod_book, or block_community you need to split on the first under_score. I'm all excited to go and see what Moodle looks like with no plugin CSS now.

I asked a similar question a while back and I don't recall there being any good way to do it like the pix:theme stuff.
However this should work in your CSS if you know the theme name in advance:

url(theme_name/fonts/fontname.ttf)

Where theme_name is your theme name/directory, fonts is just any folders that you put the fonts in

You might also want to consider linking directly to fonts hosted on Google Webfonts (or alternatives) if they have the font as they do a few extra cool things to make it load faster and look better in various situations.

Previous discussion:
https://moodle.org/mod/forum/discuss.php?d=212973
Average of ratings: Useful (2)

Moodle in English -> Themes -> Getting rid of tags -> Re: Getting rid of tags

by David Scotson -
I've pushed my file to github:

https://github.com/ds125v/moodle-theme_bootstrap_renderers/blob/master/replace/login/index_form.html

and attached a screenshot.

As per my usual plan I'm trying to stick close to both the Moodle standard and the Bootstrap 3 standard with a bit of creativity applied where they clash. I think login screens might be one of those places where people would most like to customise and 'brand' things.
Attachment login.png