Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Moodle Mobile guide for admins.

Moodle Mobile guide for admins: Difference between revisions

From MoodleDocs
m (fix typo in link to spanish translation of page)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Mobile}}
{{Mobile}}
==Enable mobile services on your site==
==Enable mobile services on your site==
Your site needs to have mobile access enabled so users can use the mobile app.
Your site needs to have mobile access enabled so users can use the mobile app.
Line 12: Line 11:


If your site uses a SSL certificate it must be a trusted certificate. For security reasons the app doesn't work with self-signed certificates.
If your site uses a SSL certificate it must be a trusted certificate. For security reasons the app doesn't work with self-signed certificates.
If your site have the /login directory protected (frequently done when using the Shibboleth authentication method), you must enable access to the login/token.php script.
If your sites uses a SSO method (CAS, Shibboleth, LDAP SSO, OAuth...) you must install and configure the [[Moodle Mobile additional features]] plugin. For Moodle 3.2 you can configure this without any additional plugins via the Mobile authentication settings.


== Customise your app theme ==
== Customise your app theme ==


The app can also retrieve your custom styles from your Moodle site. Since the app is a HTML5 app, you can apply safely any CSS, CSS2 and CSS3 style.
The app can also retrieve your custom styles from your Moodle site. Since the app is a HTML5 app, you can safely apply any CSS, CSS2 and CSS3 style.


Go to ''Site administration > Plugins > Web services > Mobile'' and enter in the mobilecssurl field a valid URL pointing to a CSS file containing your custom styles.  
Go to ''Site administration > Plugins > Web services > Mobile'' and enter in the mobilecssurl field a valid URL pointing to a CSS file containing your custom styles.  
Line 25: Line 28:
Notice that on the first time a user opens the app, he will see the default "orange" style. Your custom styles will be applied once the user has added a site in the app.
Notice that on the first time a user opens the app, he will see the default "orange" style. Your custom styles will be applied once the user has added a site in the app.


For further information, see [[:dev:Moodle Mobile Themes]].
For further information, see the dev docs [[:dev:Moodle Mobile Themes|Moodle Mobile Themes]].


==See also==


==See also==
* [[Moodle Mobile FAQ]] for other administration-related mobile app questions.
* [[Moodle Mobile FAQ]] for other administration-related mobile app questions.
* [[:dev: Moodle Mobile Roadmap]]
* [[:dev: Moodle Mobile Roadmap]]
* [[:dev:Moodle Mobile release notes]]
* [[:dev:Moodle Mobile release notes]]
Line 39: Line 40:


[[es:Moodle Mobile guía para administradores]]
[[es:Moodle Mobile guía para administradores]]
[[de:Moodle Mobile - Anleitung für Administrator/innen]]

Latest revision as of 11:51, 21 November 2016

Enable mobile services on your site

Your site needs to have mobile access enabled so users can use the mobile app.

For sites using https, mobile access is enabled by default in new installations of Moodle 3.0 onwards.

For http sites, mobile access can be enabled by an administrator as follows:

  1. In Administration > Site administration > Plugins > Web services > Mobile tick the 'Enable web services for mobile devices' checkbox
  2. Click the button to save changes.

If your site uses a SSL certificate it must be a trusted certificate. For security reasons the app doesn't work with self-signed certificates.

If your site have the /login directory protected (frequently done when using the Shibboleth authentication method), you must enable access to the login/token.php script.

If your sites uses a SSO method (CAS, Shibboleth, LDAP SSO, OAuth...) you must install and configure the Moodle Mobile additional features plugin. For Moodle 3.2 you can configure this without any additional plugins via the Mobile authentication settings.

Customise your app theme

The app can also retrieve your custom styles from your Moodle site. Since the app is a HTML5 app, you can safely apply any CSS, CSS2 and CSS3 style.

Go to Site administration > Plugins > Web services > Mobile and enter in the mobilecssurl field a valid URL pointing to a CSS file containing your custom styles.

The CSS should be placed inside your Moodle installation (in your custom theme or inside a local plugin).

Once the user is logged in the app, remote CSS files for applying your custom styles are regularly retrieved.

Notice that on the first time a user opens the app, he will see the default "orange" style. Your custom styles will be applied once the user has added a site in the app.

For further information, see the dev docs Moodle Mobile Themes.

See also