Moodle Mobile 2 (Ionic 1) Customization: Difference between revisions
From MoodleDocs
Juan Leyva (talk | contribs) No edit summary |
Juan Leyva (talk | contribs) |
||
Line 6: | Line 6: | ||
== Creating your custom application == | == Creating your custom application == | ||
=== Development environment === | |||
See [[Moodle_Mobile#Testing_and_developing]] | |||
My recomendation is the local web server | |||
Revision as of 16:05, 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
Development environment
See Moodle_Mobile#Testing_and_developing
My recomendation is the local web server
- 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.