Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is available here: Overview of MFM code.

Development:Overview of MFM code: Difference between revisions

From MoodleDocs
m (Developer Overview of MFM Code moved to Development:Overview of MFM code)
m (cat edit)
Line 14: Line 14:
* 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:Developer]]
[[Category:Developer|Overview of MFM code]]
[[Category:Moodle For Mobiles]]
[[Category:Moodle For Mobiles]]

Revision as of 09:20, 18 June 2007

Template:Moodle For MobilesTemplate:Moodle 1.6 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.