Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Overview of MFM code: Difference between revisions

From MoodleDocs
No edit summary
 
No edit summary
Line 12: Line 12:
* Code directory structure is same as main moodle code.
* Code directory structure is same as main moodle code.
* Jamie Pratt is tracking changes in moodle code using CVS and updating mfm code for overall framework and quiz and feedback modules when appropriate.
* Jamie Pratt is tracking changes in moodle code using CVS and updating mfm code for overall framework and quiz and feedback modules when appropriate.
[[Category:Moodle For Mobiles]]

Revision as of 12:29, 22 June 2006

Code included in config.php detects mobile phone and  :

  • Turns on UTF8 to SJIS transformation buffer.
  • Turns on cookieless sessions when needed.
  • Runs through setup.php as normal.
  • moodlelib, datalib and weblib.php included as normal.
  • When setup.php ends ‘customscripts’ functionality triggers our special scripts that output chtml rather than xhtml.

Moodle customscripts functionality runs an alternative script that generates chtml rather than xhtml and optimized for small screen. Uses custom adaptations of some moodlelib.php, weblib.php and course/lib.php functions. Function names start with mfm_*

Code Maintenance

  • Code directory structure is same as main moodle code.
  • Jamie Pratt is tracking changes in moodle code using CVS and updating mfm code for overall framework and quiz and feedback modules when appropriate.