Hello,
I want to develop my own module, but I am a raw recruit. I have some basics in PHP and MySQL. At the beginning I followed this tutorial: http://docs.moodle.org/dev/NEWMODULE_Documentation
First I want to give you my system-information:
Windows 7, 64 bit
XAMMP 1.8.3. with PHP 5.5.6
Moodle 2.5 (latest)
At the tutorial there are three newmodule-zips offered. The first one (for 2.x) doesn’t work for me. If I copy it (with all renames) into the mod-directory the whole moodle-platform doesn’t work anymore and shows me just blank sites. So I tried the third zip. First, there was the same problem, but when I change the structure a little bit, it works for the next step (not NEWMODULE/lang/en_utf8/newmodule.php, but NEWMODULE/lang/en/newmodule.php and without the help-directory).
Allright. I copied my module-files into the mod-directory and started the update with Service Administration -> Notofications. I got just the information “success”. After this I switched to my course and tried to add my new activity. I could choose my widget (there was no icon ). I agreed and nothing happened. I got just a blank site with this address: “http://localhost/moodle/course/modedit.php?add=newwidget&type=&course=2§ion=1&return=0&sr=0”
No new activity was added. I tried also another tutorial, but the same result…
I’m very unhappy, because I searched lots of time without a solution. I hope you can help me! If there is someone, who want to be my “personal mentor” and gives me some start-up aid, I would be very grateful. Then I haven’t to tease the forum all the time .
Thanks a lot in advance!