Повідомлення, що надісла(ла)в Itamar Tzadok

Simply add CSS definitions in the CSS template

div.helloworld{background-color:#0000ff;}

Then assign the css class to an element in the view templates

<div class="helloworld">Nice to see you again</div>

Make sure to clear the browser cache and view. усміхаюсь
A question type for DragMath may be an overkill. It can be easily implemented with the almighty CLOZE question type by anyone and the extra maintenance of core code or plugin can be spared. See image below. усміхаюсь


Вкладення dmr.png
The login info in the database page is in the footer (at least in the standard themes; it may be different in specifically tailored themes in which case you can inspect the page source to find the DOM structure).

The user name should be retrievable by something like

var whoami=document.getElementById("footer").getElementsByTagName("a")[1].innerHTML;

If you want the user Moodle-id you need to retreive the href of the a tag and extract that id from it

/moodle/user/view.php?id=747&course=20666


Now with this info you can set the location.href to something like

http://moodle.yours.u/moodle/mod/data/view.php?d=13&perpage=100&search=John&nbsp;Doe&sort=0&order=ASC&advanced=0&filter=1&u_fn=&u_ln=

and that should reload the page and display only John Doe's records.

усміхаюсь


Moodle in English -> Quiz and question banks -> Advice needed. -> Re: Advice needed.

Itamar Tzadok -
If it is just an ungraded in-form-ation, you can try the database activity where you can design entry and display forms (single or list). If the info is confidential you can set the database to require approval and never approve the entries and so users will be able to see only their own entries. усміхаюсь
" inside an Excel string should be doubled as in

="<question type=""cloze""><name><text><![CDATA["& AH2 &"]]></text></name>"

but to make your formula more readable you can use ' instead as in

="<question type='cloze'><name><text><![CDATA["& AH2 &"]]></text></name>"

The XML doesn't mind. усміхаюсь