mirror of
https://github.com/moodle/moodle.git
synced 2025-03-22 16:40:07 +01:00
The code to print blocks in now in theme layout.php files. (Or in moodle_core_renderer::handle_legacy_theme) Code for printing blocks everywhere else has been stripped out. (Total diffstat 1225 insertions, 2019 deletions) The way the HTML for a block instance is generated has been cleaned up a lot. Now, the block_instance generates a block_contents object which gives a structured representation of the block, and then $OUTPUT->block builds all the HTML from that. How theme config.php files specify the layout template and block regions by page general type has been changed to be even more flexible. Further refinement for how the theme and block code gets initialised. Ability for scrits to add 'pretend blocks' to the page. That is, things that look like blocks, but are not normal block_instances. (Like the add a new block UI.) Things that are still broken: * some pages in lesson, quiz and resource. I'm working on it. * lots of developer debug notices pointing out things that need to be updated.
Official Chat Module for Moodle ------------------------------ The chat module now supports a backend daemon for more efficiency. It's still buggy and being worked on, but if you want to test it and help out here are some quick instructions: 1) Admin -> Config -> Modules -> Chat -> Settings 2) Set the method to "sockets" and set up the ports etc 3) Start the server like this (from the Unix command line): cd moodle/mod/chat php chatd.php --start & 4) Go to a chat room in Moodle and open it as normal. ------ KNOWN PROBLEMS - User list is not always working - Some browsers (eg Safari) cause lines to be repeated by 10 - 20 times - Occasionally "Document was empty" messages Help solving these very welcome! Martin, 31 July 2004