I've not tried it yet but based on the code it seems to be looking for an array, so try:
$THEME-> plugins_exclude_sheets = array('mod_modname');
Looking further it seems like `true` should switch them all off:
$THEME-> plugins_exclude_sheets = true;
but currently I can't get either to work. I've actually been looking for a way to do this for a while and had no idea this feature existed so I'll keep trying and get back with any findings.
edit: okay the latter seems to be working now, though it didn't seem to at first.
David Scotson
Mensagens colocadas por David Scotson
Passing on something I read recently, though this may not apply if your goal is to make people go "Wow!", but people who actually track the success of their website in terms of who clicks what and how that translates into eventual sales (or what have you) seem to be saying that these slider things don't actually work very well, and you'd be better putting all the content on the page so it can be seen at a glance and catch people's eye rather than make people go hunting for the content that might interest them.
I'm fairly certain that there's corners of Moodle 2 that were carried over untouched from Moodle 1.9 and whose roots go back further. Since there's little gain from going back and pruning the CSS it tends to grow unconstrained, that's why starting from scratch and then only bringing across what you need makes sense.
The first file that inspired this question were:
enrol/flatfile/lang/en/enrol_flatfile.php
Which has example CSV files in pre tags but the text isn't marked up, but if you visit the page that outputs that string:
admin/settings.php?section=enrolsettingsflatfile
you see paragraph tags have appeared.
For the front login page the text I mentioned I assumed it was coming from a lang file (since there are a bunch of br tags in lang files) but actually the formatting (including the br) is in this file:
login/index_form.html
I'm going to rewrite it in Bootstrap style but would be happy to contribute if people wanted to give it a tidy up for standard 2.5
enrol/flatfile/lang/en/enrol_flatfile.php
Which has example CSV files in pre tags but the text isn't marked up, but if you visit the page that outputs that string:
admin/settings.php?section=enrolsettingsflatfile
you see paragraph tags have appeared.
For the front login page the text I mentioned I assumed it was coming from a lang file (since there are a bunch of br tags in lang files) but actually the formatting (including the br) is in this file:
login/index_form.html
I'm going to rewrite it in Bootstrap style but would be happy to contribute if people wanted to give it a tidy up for standard 2.5
Moodle in English -> Themes -> Getting rid of tags
por David Scotson -
I'm just trying to restyle the login page and the fact that the message
"Login here using your username and password
(Cookies must be enabled in your browser)"
is broken in two by the use of two br tags rather than being marked up as two paragraphs is kind of annoying me since it renders them basically unstylable.
Is this something that I could fix (along with the various other examples) and get accepted back into Moodle for say 2.5 or is there some reason why those br tags are used in translatable content? I looked at another bit of translatable content which has pre tags in it, but by the time it gets to the screen extra paragraph tags have appeared around the content before and after the pre tags. I tried to follow the (very complicated!) process of strings getting outputted by get_string but still couldn't work out where those extra tags were coming from so I'm a bit hesitant to just dive in and start changing the text to something "better" if it's going to screw things up.
Does anyone have any ideas?
"Login here using your username and password
(Cookies must be enabled in your browser)"
is broken in two by the use of two br tags rather than being marked up as two paragraphs is kind of annoying me since it renders them basically unstylable.
Is this something that I could fix (along with the various other examples) and get accepted back into Moodle for say 2.5 or is there some reason why those br tags are used in translatable content? I looked at another bit of translatable content which has pre tags in it, but by the time it gets to the screen extra paragraph tags have appeared around the content before and after the pre tags. I tried to follow the (very complicated!) process of strings getting outputted by get_string but still couldn't work out where those extra tags were coming from so I'm a bit hesitant to just dive in and start changing the text to something "better" if it's going to screw things up.
Does anyone have any ideas?