Re: One Topic format NOT working under moodle 2.3 beta
Dear Ger,
The core functionality structure of course formats has changed radically under Moodle 2.3, therefore all existing contributed course formats that work with Moodle 2.0 - 2.2 will not work under 2.3.
I suggest that you contact David under http://moodle.org/plugins/view.php?plugin=format_onetopic to discover his intentions with 2.3.
I have had to undertake a rewrite to get Collapsed Topics to work with 2.3.
Cheers,
Gareth
Re: One Topic format NOT working under moodle 2.3 beta
Gareth,
Did I miss the statement being made that ALL contributed formats won't work in 2.3?
Re: One Topic format NOT working under moodle 2.3 beta
Dear Ben,
Given the premise from what I have seen of the course format code changes in core with the introduction of 'renderer.php' in '/course/' then 'yes' unless they are rewritten to cope. Unlike the transitions between 2.0 to 2.2 there are fundamental changes.
Cheers,
Gareth
Re: One Topic format NOT working under moodle 2.3 beta
I don't think that this is true.
If your code was depending on the way which topics and weeks formats were outputing their information then there have been changes there. Though this was never an official API.
The fundamentals of how formats are displayed and included is the same and for example, social and scorm course formats haven't been changed at all.
The changes for course format authors should be in course/format/upgrade.txt
Re: One Topic format NOT working under moodle 2.3 beta
Ok Dan, fair point, but of the current eight on the new plugin's database, six are children of the topics / weeks formats.
Perhaps it is a trait of PHP that failures are so obvious with a screen that shows or a screen that does not rather than degraded functionality in the face of underlying API changes that indicate the need to make a new release. With the transitions of 2.0, 2.1 to 2.2 the formats that were topics / weeks beased still worked, but with 2.3 the changes were more significant in the transition to polymorphic renderer based API code.
With the desire to move to a new more flexible course format API for Moodle 2.4 as I believe indicated at http://docs.moodle.org/dev/Developer_meeting_May_2012 - what is the best course of action for contributed course format developers to follow?
Is there an official API?
In any event, each contributed format needs to be tested with 2.3 to confirm that it works correctly as expected.
Cheers,
Gareth