Additional Resource Type?

Additional Resource Type?

by Howard Miller -
Number of replies: 1
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I confess I haven't dug into the code yet....

How hard would it be to add an additional resource type? It would be based on plain text, but when the text is displayed it would be run through a custom formatter.

Its just to get an idea how deep in the code these sort of features are before I take on something that a might regret!

Thanks!
Average of ratings: -
In reply to Howard Miller

Re: Additional Resource Type?

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
It should be quite easy ... see mod/resource/view.php and the list of types in mod/resource/lib.php