Which is the proper way to add a new course format?

Which is the proper way to add a new course format?

by Pablo Garaizar -
Number of replies: 2
Hi all,

we are developing a small hack to have our univesity's own course format (to be compliant with its teaching guidelines) and we have some doubts about the best way to do it.

Is there any proper way to do this?

We want a course format very similar to "Topic format", but being able to group resources and activities within a topic and choosing a title from 5 fixed ones ("Preliminary Context", "Contents", "Practice", etc.).

If there is another mod or small hack doing something similar, we will be glad to collaborate developing it smile

Thanks in advance wink

Agur,
Pablo Garaizar
Average of ratings: -
In reply to Pablo Garaizar

Re: Which is the proper way to add a new course format?

by Pablo Garaizar -
Hi again,

as we didn't get any responses we will do it as we are trying by now: copying moodle/course/format/topics into a new folder and modifying it directly.

If it is another (better) way to do it, we'll be glad to know it Osmile

Agur,
Pablo Garaizar
In reply to Pablo Garaizar

Re: Which is the proper way to add a new course format?

by Greg Lyon -
I think that is exactly the right way to do it. Just a little warning along the way, there is a lot of code in Moodle that has been coded to only look for the 'weeks' and 'topics' formats which breaks on other formats. When I was creating my own format I had to search for those and add extra logic to handle either my own format, or a default case.

Greg.