Talk:Moodle for Mobiles
Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Moodle for Mobiles.
This is a great mod but the README is FAR from useful. I had to look through the source to get it working. There is no description (conveniently located) of what it does and where to see what it does. So I will try to provide more complete info for the poor admins out there installing this.
This mod does TWO things:
- adds check for cellphone browser and JAPANESE carrier and loads page accordingly
- adds a little icon beside the Quiz and Feedback object in the course homepage edit view
Most admins installing this would probably test it with a cellphone emulator like Openwave. However, the emulators' User Agent is different from the actual browser on the cellphones and do not pass the regex in the mod as a cellphone. The mod checks whether the browser is of a cellphone and loads the page accordingly. So I installed the correct version and did what the README said to do... and doesn't work... What gives eh?!
in ../mobile/customscripts/lib/setup.php either
- add the proper regex for you emulator or
- temporary force the regex
for the temporary option
change the line