If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Linked activities

From MoodleDocs
Revision as of 14:59, 5 February 2013 by Elizabeth Dalton (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Other way: bulk activities editing? Artem Andreev 01:36, 12 January 2009 (CST)

Yes, I've already think about that. That's variant 1 from the page. At least we can start from it, thought saving a groups of activities and linked settings will save time when re-editing them later. Anyway, bulk editing must edit some settings, not all - that's major challenge in implementing this so far, as activities doesn't suited for that right now. I'm now trying to find less intrusive way to implement it --Oleg Sychev 14:46, 14 January 2009 (CST)

Some thoughts

1. Have a look at the 'Bulk change' interface in Jira (the moodle bug tracker). That is a really nice interface on the web for doing this sort of thing. If necessary, download a free trial copy of Jira to experiment with.

2. In the first instance, I think this should, and can, be implemented as a plugin. Probably as a block that can be added to the course page and is only visible to teachers. The disadvantage of this is that you will end up with some duplicated code (knowing which fields are editable, which form control to use for them, ..., and you will have to do this for each type of filed you need to bulk-edit). On the other hand it makes it a self-contained plugin, and it solves your problem without messing around with core code.

Once you have a working system, and people can see how useful it is, then it will be much easier to persuade people to refactor core code for module editing.

3. Remember to do the correct has_capability checks.

4. Have a look at the new Web_services layer in Moodle 2.0. The new external.php file may be a good way for your block to communicate with the module with minimal coupling.

--Tim Hunt 08:08, 15 September 2009 (UTC)

Yes please!

We would really like this-- I've lost track of the number of times I've wished to be able to set the "completion tracking" of all my labels to "none."

Elizabeth Dalton 22:59, 5 February 2013 (WST)