Note:

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

Moodle Mobile 2 (Ionic 1) Customization: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 1: Line 1:
{{Moodle 2.4}}
{{Moodle 2.4}}
== Overview ==
== Overview ==



Revision as of 16:03, 8 November 2012

Moodle 2.4

Overview

In this document are described the general steps for building your custom Mobile app.

Creating your custom application

  • Enable and configure WebServices in your Moodle installation, see Web services documentation
  • Create a local plugin in Moodle for adding the extra Web Services you need and also your plugin's lang files
  • Create a new External Service in your Moodle installation, adding a services.php file in your new local plugin or creating manually the service in your Moodle installation (Plugins -> WebServices) See External_services_description for more info
  • Implement your plugin
  • Edit the /config.json file to:
    • Add the extra plugins you implemented
    • Indicate the WS service name you are going to use in your Moodle installation (Remember, that you need to create a WS Service indicating the functions available for your custom app)
    • Add your custom lang file (es, ca, fr ...)
    • Change the app login form presets
  • Add your own css files, custom images, etc..
  • Build the app using the SDK for Android and iOs

Notice that if you want to only change the global styles of the app, you can use an extra CSS file in your Moodle installation without need to compile again the app.