Hello,
I'm trying to write a new module from scratch but in view.php I get the following error:
Fatal error: Call to undefined function build_navigation() in C:\Program Files\EasyPHP 2.0b1\www\moodle_ed1\mod\eddummy\view.php on line 55
I'm building the module from NEWMODULE template for version 1.7.
Another question:
Is there a standard way to turn on error_reporting() or some kind of debug mode?
Thanks,
ED
That is odd. build_navigation was only added in Moodle 1.9. Why is it being referred to in the 1.7 newmodule template?
To answer your other question: Admin -> Server -> Debugging.
To answer your other question: Admin -> Server -> Debugging.
Indeed. I've faced this problem. Though very trivial to experienced developers, it may be confusing to "newbies".
This thread sheds some light on it
http://moodle.org/mod/forum/discuss.php?d=84072
This thread sheds some light on it
http://moodle.org/mod/forum/discuss.php?d=84072
Obrigado pela dica, João. Entretanto descobri o problema e já fiz alguns avanços. De qualquer forma, vou dar uma vista de olhos ;)
Boas Festas,
ED
Boas Festas,
ED
Excuse me for writing here, but I have a doubt , actually i am writting a new module but dont know how publish it. Can somebody help me, please?
Marco,
To make your module available to the Moodle community, you can post it to the Modules and plugins section of moodle.org. Select the Add Entry tab.
Joseph
To make your module available to the Moodle community, you can post it to the Modules and plugins section of moodle.org. Select the Add Entry tab.
Joseph
Thanks in advance Joseph
Marco - Depending on what the module is, you may also request that it be added to the CONTRIB section of CVS where you can maintain it there and take advantage of the Tracker. Please feel free to send me more information about the code you would like to share and thanks for your interest in contributing to Moodle's continued development. Peace - Anthony