Urs Hunkler
Mezuen egilea: Urs Hunkler
We need a course with just one quiz. For the SCORM activity and the forum special course formats are offered. Does anybody know if there is a quiz course format? I searched Moodle and the internet but didn't find any information.
Thank you very much for your help.
Thank you everybody for your answers. Tim, "html_writer::non_empty_tag" I never had seen in use before and a search for "html_writer::non_empty_tag" in the Moodle 2.5 codebase brought up no result.
I had seen the changes in bootstrapbase/clean in the columnN.php layout files and noticed the changes to handle "empty" and also not empty page areas by hiding them with CSS (question 2 above). The question why the decision has been made to hide areas instead of not output it at all has not been answered yet. May Sam Hemelryk who worked on the implementation as I saw from his commits give some answers?
Mary, I would use for example a layout file like "frontpage.php" as in base Probably call it "columns3_front.php" or "columns2_front.php" or similar.
First of all I want to say that I like the new clean look in the layout files "columns1.php" etc. - "general.php" was quite sophisticated and not easy to understand.
2 questions about the layouts
- Why is there no frontage layout?
- Why is the HTML for empty page areas included into the page and hidden with CSS?
at 1. Why is there no frontage layout?
The frontage on most Moodle installations looks different from most other pages. With a frontpage layout several empty areas can be avoided.
at 2. Why is the HTML for empty page areas included into the page and some are hidden hidden with CSS when a layout-option is set?
For example the course header area is created and left empty in the page.
<div>
<?php echo $OUTPUT->course_header(); ?>
</div>
The navbar area is completely created with the breacrumb and all and hidden with the help of the body class ".layout-option-nonavbar".
If the rendered page should be as lean as possible the approach to add HTML only to hide it with CSS does not make sense. Why has this approach been chosen?
The only reason I can imagine is to keep the areas for later use in the browser where some content may be rendered into the area with JavaScript? Or to show/hide it with media-queries?