Closed dvdcastro closed 6 years ago
Thanks for letting me know. This should be fixed now in the version 1.2.0.
Related to this, lib.php
methods for modules are also preceded by mod_
and it seems like they shouldn't.
It is complicated. See how they are called from course/modlib.php. Some of them historically do not have it (such as *_add_instance()
) but some do (such as mod_*_rescale_activity_grades()
). I'll be happy to hear all your further findings reported as new issues here. Thanks in advance.
Modules language file name should not preceded by
mod_
.Was scratching my head for a while when trying to install..
The generator creates the file
mod/mymodule/lang/en/mod_mymodule.php
and the language strings are never found when installing. They are looked for inmod/mymodule/lang/en/mymodule.php
which does not exist.