IMS LTI PROVIDER PLUGIN FOR MOODLE
According IMS:
IMS is developing Learning Tools Interoperability (LTI) to allow remote tools and content to be integrated into a Learning Management System (LMS).
This is a local plugin for making Moodle a LTI provider tool.
It can be use to provide access to full courses or activities from remote systems (other Moodle installations, Sakai, any LMS LTI consumer compliant)
Please note that since Moodle 2.2 there is a core activity plugin called "External tool" that is a LTI consumer.
This plugin allow remote systems users (LTI consumers) access to Moodle courses or Moodle activities inside a course.
Moodle (version 2.2 and onwards) is a LTI consumer tool also.
You can use this plugin to share activities and courses between Moodle installations without configuring a Moodle network.
You can also share activities and courses with other LTI consumer tools like Sakai
You have a detailed view of this plugin possibilities in this post by Gavin Henrik
Provide access to full courses or single activities.
Change the navigation block of a course or activity for displaying information and links only regarding to your current course.
Send backs course or activity final grades to the LTI consumer tool
Modify the course or activity page for hiding the header, footer and left or right blocks
- How the user profile is updated - Default authentication method - Format of the course shortname, fullname and idnumber (using LTI variables) - Roles allowed to create new contexts - Roles allowed to create new resources
The tool can be opened using also the context_id instead the current internal Moodle id
See http://developers.imsglobal.org/ext_membership.html
See https://tracker.moodle.org/browse/CONTRIB-4502
Service URL local/ltiprovider/services.php
Custom parameters:
custom_service = create_context
custom_context_template = Moodle idnumber for a course to be used as a template (the course will be duplicate)
The course will be created populating the fullname, shortname and idnumber configured in the plugin settings
Service URL local/ltiprovider/services.php
Custom parameters:
custom_service = duplicate_resource
custom_resource_link_copy_id = Moodle idnumber of the activity to be duplicated in the current context
If the context resource_link_id matches to an activity idnumber, the user will be redirect to that activity in Moodle
If this additional parameter is present in the request custom_resource_link_type (mod_forum, etc...) and also resource_link_title and resource_link_description a new moodle activity will be created
See: https://tracker.moodle.org/browse/CONTRIB-4409
Two additional request parameters are required:
custom_create_context (0 or 1)
custom_context_template (Moodle course idnumber)
Additional parameter required:
custom_resource_link_copy_id = Moodle idnumber of the activity to be duplicated in the current context
Follow instructions here: http://moodle.org/plugins/pluginversions.php?plugin=local_ltiprovider
Important If you are using Moodle 2.2 or above, please, be sure that this option:
Home / > Site administration / > Security / > HTTP security Allow frame embedding
Is checked, if you leave this option unchecked your provider site will not be "embedable" via an iframe in other sites.
Once installed, a new link called "LTI Provider" will be displayed in the course navigation block .
In this page, you can add, modify and disable the tools provided in your course.
Please note that you can provide a tool n times with different configurations
There are options for hiding the page header, footer, and left and right blocks and also options for force the Moodle navigation inside a course or activity.
There are also options for assign different roles in the course or activity to the remote users.
Once added a tool, you will need to use two settings in your consumer tool:
- Shared secret
- Launch URL
Configure your consumer tool with these two settings. That's all
For a more detailed view of the plugin options see this detailed review of the plugin by Gavin Henrik
- Users are created automatically in their first access to the system.
- Users are created with a hashed username and also with an auth method that disable direct login to Moodle.
- Users are allways enrolled in the course where the activities are.
There is also settings for setting Users profile default values (email visible, etc...)
If you are going to have courses with local and remote users enrolled, I recommend you to create these new roles:
- External teacher
- External student
A cron job checks periodically activities for sending back grades (overall course grade or activity grade).
In order to work correctly, your php.ini settings file needs to have the following setting enabled:
allow_url_fopen = On
Juan Leyva <http://twitter.com/#!/jleyvadelgado></http://twitter.com/#!/jleyvadelgado>
http://moodle.org/user/profile.php?id=49568
The Universitat Oberta de Catalunya (UOC) <http://www.uoc.edu></http://www.uoc.edu> has sponsored the version 2.3 of this plugin