Các bài đăng được tạo bởi Itamar Tzadok

There is the 'Questions per page' setting in the quiz settings which allows you to set number of questions per page but you can also set it in the quiz edit tab by showing the page breaks and then adding deleting or moving them around. cười
Trung bình điểm đánh giá:Useful (1)

Moodle in English -> General help -> Weekly format -> Re: Weekly format

Bởi Itamar Tzadok -
One possible way is to do it by javascript. You add an HTML block on the main page at the bottom of the right column. In this block you add javascript which calculates the current-week number from a given start date and current date and then look up all (tr) elements with id "section-i", i>current-week, and set their style.display to none. If you don't add a title to this HTML block it is almost invisible but if you want to make it completely invisible some 5 or so more lines of javascript can do that too. cười
Trung bình điểm đánh giá:Useful (1)
Brilliant. It reminds me of all those times when a problem is reported and I go into to code and actually find an embarrassing mistake in the code and fix it to my satisfaction only to find out that the reported "problem" is in fact a normal behavior upon certain settings and I'm left wondering what exactly I've just fixed. toe toét
Should be possible in various ways. On the client side as on per database basis you can add javascript to the database that accesses the relevant elements (li) and set their display to none so that the tabs are not displayed. Alternatively you can add javascript in the relevant templates that redirects the page to the view list and so while the tabs are still there they are in effect disabled. cười
Trung bình điểm đánh giá:Useful (1)