print_header() and $OUTPUT->header()

print_header() and $OUTPUT->header()

написао/ла 康 陈 -
Број одговора: 2

In moodle 1.9 , I can set css by $CFG->stylesheets[] and js by passing

$meta to print_header(). But how can I do that in moodle 2.2 ? In moodle 2.2 $OUTPUT->header() is instead of print_header .However , $OUTPUT->header() does not need $meta . So I want to know How can i set css and js in moodle 2.2 .

У одговору на 康 陈

Re: print_header() and $OUTPUT->header()

написао/ла Davo Smith -
Слика Core developers Слика Particularly helpful Moodlers Слика Peer reviewers Слика Plugin developers

You have already posted this same query several times and received an answer here: http://moodle.org/mod/forum/discuss.php?d=203015 (use styles.css to add stylesheets to your plugin).

Feel free to ask any further questions, but repeating the same question multiple times is not helpful.

У одговору на Davo Smith

Re: print_header() and $OUTPUT->header()

написао/ла sachin suryavanshi -

Hi davo,

I have one quiz and it contains MCQs , true-false type question from diffrent topic which is covering one subject .

Now at the end of quiz i want analysis of question by their topic.

Is it possible in moodle 2.3 or I have to write code for that.

Regards

Sachin