פרסומים שנוצרו על-ידי Tim Hunt

Moodle in English -> Mathematics tools -> Why doesn't the TinyMCE equation editor let you do display-style equations?

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

Does anyone one why the tinyMCE equation editor plugin here only does equations (\( \frac{a}{b+c} = z \) in inlie style, with delimiters ( \ and \ ) with no option to switch to display style (

$$ \frac{a}{b+c} = z $$

) short of manually editing the delimiters to $ $ and $ $ yourself?

Old Atto equation editor had a UI option for this:

image.png

Is this a need other people have? Is there a tracker issue about this? (I can'd find one.)

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

Moodle in English -> General developer forum -> HTML Writer vs Mustache templates -> Re: HTML Writer vs Mustache templates

על ידי Tim Hunt בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
Not better to use a template to make a single HTML tag.

Definitely better to think about doing most output using templates, not PHP code (including HTML-writer) to generate the HTML.

Moodle in English -> Quiz and question banks -> Opening a quiz in a secure layout -> Re: Opening a quiz in a secure layout

על ידי Tim Hunt בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
There is no option for this.

At the moment, the only way this can be controlled is through Quiz access rule plugins. For example, here is where the SEB plugin sets it https://github.com/moodle/moodle/blob/d4c979ad1e8f50f0d9a88d6f3fc8418ef8455be1/mod/quiz/accessrule/seb/rule.php#L464.

But, of course, not all Proctoring providers want to build a Moodle plugin, and they probably should not have to - but I think this is the first time this particular issue has come up.
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers
I would not be happy with that (indeed, I was not when I was asked to follow some instructions like that). We pionted out that these instructions completely ignored a very important security principle (about only giving the permissions required) and the vendor worked with us get the appropriate permissions.

(I think had to do most of the working out which permissions were needed - but I did tell them, so they could update their instructions - if they are the same people.)