-
Notifications
You must be signed in to change notification settings - Fork 2
Installation
The plugin is written in PHP for use with WordPress 3.5 (or later). It uses the open source PHP LTI class library for handling the LTI-related communications. It is installed in the same way as other WordPress plugins which involves two steps:
- Add the source files to the WordPress server.
- Enable the plugin in WordPress.
This plugin is available from the WordPress plugin repository and so can be installed as follows:
- Navigate to the Plugins page of the Administrator dashboard.
- Click on the Add New button.
- Enter
LTI Platform
as the Keyword. - Click on the
Install Now
button for the LTI Platform plugin.
Repeat the above steps to install the ceLTIc LTI Library plugin (version 4.10.0, or later) and activate it once installed.
The source files can be installed on the WordPress server using composer:
- Log into the WordPress server.
- Navigate to the
wp-content/plugins
directory of the WordPress installation. - Run the command
composer create-project celtic/wordpress-lti-platform lti-platform
.
Alternatively the source files and dependencies can be added manually by extracting the source files from this repository into a directory named lti-platform
within the plugins area of your WordPress instance and following the manual instructions in the LTI class library documentation for installing the LTI library and its dependencies (or install the ceLTIc LTI Library plugin from the WordPress plugin repository, as above).
- Log into WordPress as an administrator.
- Navigate to the Admin Dashboard (for the network when using a multisite instance of WordPress).
- Select the Activate option on the Plugins page to enable the plugin.
Once enabled, the plugin a new menu option named LTI Tools will appear in the Settings menu of a site's admin dashboard. A menu option named Network LTI Tools will also be added to the Settings menu of the network admin dashboard when using a multisite instance of WordPress.
- When updating to version 2.1.0 check that version 4.10.0 (or later) of the ceLTIc LTI Library (plugin or source files) is also installed.
- Version 2.1.0 introduces a setting for role mappings - review each tool which has been configure to ensure that the default role mappings are appropriate.
To completely remove the plugin from the WordPress installation use the Deactivate
option on the Plugins
page in the Admin Dashboard, and then select the Delete
option for the plugin. To permanently remove the data created by the plugin from the WordPress instance, ensure that the following option has been checked before it is deactivated:
- Delete data on uninstall?
This will remove any LTI tool configurations as well as the plugin option settings.
© 2022 Stephen P Vickers. All Rights Reserved.