由 Colin Chambers 发起的话题

At the OU I’ve been trying to make the question editing forms simpler to use. I’ve picked 3 things to start with.
  1. Hide/show sections: Like blocks. Toggle display of each section by clicking it’s title. First section is shown on page load. Makes it easier to see and access the whole of the form.
  2. Hide/show HTML editor: The editor takes up a lot of space and is only needed when you edit the field content.
  3. Hide HTML format fields: After each HTML editor a format field appears with only one option. This is hidden until there are more options available.
There's a mockup showing these ideas in an essay question. To simplify things I’ve removed a lot of the Moodle extras. So you can’t save the question, just play with the form.
To explore the code further checkout essay-question.html in our repository on github. Feel free to checkout it out, play around and make suggestions.

What next?
I’ll merge this work into our OU Moodle development. In the next couple of months.

What do you think?
We want to get this into core so we’re looking for comments and suggestions. So:
  • do you think this makes things easier for teachers?
  • if you create questions will this make it easier for you to create questions?
平均分:Useful (1)

hi guys. got a moodle 2.0 restore challenge for ya.  I'm writing a plugin that needs to update the gradebook during restore. It seems that the restore of the pluging occurs before the restore of the gradebook and we need the related gradebook item to exist so we can update it.

Hence I'm looking for a process that runs at the end of restore that can update the db. We're trying to avoid changing core code so need a solution that works within the plugin.

Tried using the standard restore_XXXXXX_stepslib.php methods like after_execute() but they run after the restore process has run for the plugin but not the end of the restore.

any ideas?

Hi All,

I've uncovered an issue that is blocking a restore of courses with lots of students and lots of groups. I've logged a bug (http://tracker.moodle.org/browse/MDL-16385). I think I have a fix. I need to know if a) this is just an issue that occurs on our code at the Open University, b) if I've suggested the right fix

cheers

Colin
A lot of people ask me why bother since access to the internet is gaining pace every month. Surely it'll be irrelevant in a short period of time. I disagree, in fact I think this makes it even more necessary due to the increasing demands being placed on web applications. To find out why and make your own comment I wrote an article on my blog http://colchambers.blogspot.com/2008/06/is-offline-moodle-really-worth-hassle.html . I've been meaning to put this down in writing for a while and I finally did. I look forward to hearing what you guys think and if there are other pressing arguments for or against that aren't on any ones agenda.
平均分:Useful (2)
Just a quick note to let everyone know that we've begun work on the inremental backup component that should make it easier to get course updates on Offline Moodle.

I've added a few notes to the wiki at
http://docs.moodle.org/en/Development:Offline_Moodle:_Incremental_Backups

We've also resorted to private mails to discuss the work and this obviously means no one else to can get involved. So to reverse this I thought I'd continue these discussions out in the open.

So here goes.

Dan, Matt, just wondering if we could have a few notes on the wiki about how to get the incremental backup stuff working. I've written a very short paragraph on how to generate incremental backups. But you've also created a couple of files to help the offline client to easily get the incremental from the server.

The files are get_incremental.php and send_incremental.php

When looking at the files I wondered if I should call them directly or if there is an admin menu or other file I should start from. Just little things like that so it's easier when I go in to test it because I'll know enough about how things should be working.

Related to this is that there are some guid tables that must be generated but mysql won't generate them. I know this will be addressed in time but they seem to be relevant particularly for these two files. Is this case?