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

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

door Pablo Garaizar -
Aantal antwoorden: 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 glimlach

Thanks in advance knipoog

Agur,
Pablo Garaizar
Gemiddelde van de beoordelingen:  -
Als antwoord op Pablo Garaizar

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

door 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 Oglimlach

Agur,
Pablo Garaizar
Gemiddelde van de beoordelingen:  -
Als antwoord op Pablo Garaizar

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

door 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.


Gemiddelde van de beoordelingen:  -