Hướng dẫn cài đặt LTI cho Moodle

Mục lục

Classin provides a LTI tool, which can help teachers to create an online classroom on Moodle. 

Here are the steps to setup the tool and enable a supper classroom on Moodle.

STEP 1: PREPARE #

Create a token on the site.  #

⮚ Login to Moodle as an Admin. 

⮚ ClassIn LTI requires web service on Moodle, so please make sure the webserver is enabled before the next step: https://docs.moodle.org/311/en/Using_web_services 

⮚ Click Site Administration > Server.

 

eQ6Ud3kNNaf8BIINkmB lOiAID0zUtI3uzxiTbz wE1 sRGDY4d42c4ZRRoJNoBFCGq ObQUUy0gzBmRM83XuEk4zZVCs4X

1. Scroll down. Find and click Manage tokens. 

Jc1w8Zm3iDqDMFfyC0QhqSVm7jR7j5FBNttUDaH5E3cOOpSAzY1zG4BFqq3P2HAoxFE1r8QBWaHfDUJ8vZkGCemIj4b2YIWLvRk2Hy2KsFDtg7

2. Click Create token under Manage tokens. (Token would be used in STEP 2.1)

L2faw MyKLkgLah7S6BL3RtaLEAwwA fyOsR4LUqLRLbhB2M3N1mO1F7R8qy9Ga2nKjugaTvi9zUg YErDN5GrLv9ync0Oa0aqQxFY qjh4wg

3. Select Service as Moodle mobile web service and click Save changes Notes: If you want choose a custom services here instead of this build-in serviceplease make sure these functions are included in your created custom service: 

  • core_enrol_get_enrolled_users 
  • core_enrol_get_enrolled_users_with_capability 
  • mod_lti_get_ltis_by_courses 
  • core_ calendar_ create_ calendar_ events (to support the calendar event) 

Add function to a external service: 

4. Copy the token that was just created.

hGltl2ID16qcH lPeUWwH06fHkNjUqrABHDfa8fIgSdf0Mn54B7tgUjrI7dVlA tmMcBa9lZrLATrF aI8WZ4IM5D5itN7WDsumiHZTUohusLNRnAWiT0afnIva9uNjvWFl8v90XMIyj0np qUGgiVs

Enable service on the site  #

Notes:Make sure the webservices and The rest API is enabled on the site 

5. Go to Dashboard->Site administration->Server->Web services->External services page, make sure the Moodle mobile web server (Or your created customservice) is enable here

C1TRDhd4yGI0IQhG8xquEMoIrQ6999ZtlWjvPVCnnlVj xepDA4BZwVIDw3 eyCz w47rR rmR07LvZJcJAYF0pSqzBrfY65dBVjElwbYnK9heCvlUcOP8yUZrY3C n5fRs 61yaSyEo51rKVW35iFE

YQEZS7sk var4 hN2X lKOgnAdq9aG0f8Y67LPk4a9qzC1 84FKV4JvYV4NpPZiCpfIQ0fMOG9rD9qnQytVeJeRBcG8Ll1YgyYhk1nN UhND uzaHEk99FYgI vk1zKzefmTh0sG48Up8DtPB8nYBow

6. Go to Dashboard->Site administration->Server->Web services->Manage protocol And Enable the REST protocol 

HG PsJhxhRPnn3DUy77LV8fOT7jF3hcE14Pu9bkE49IKyoogLNap5d4ZpyJCtnHe

STEP 2: CONTACT WITH CLASSIN #

1. Contact ClassIn team, provide with your site url, the token and your classin school account. 
2. Classin team feedback with the tool url, Consumer Key and Shared secret.
 

STEP 3: CONFIGURE THE TOOL IN MOODLE #

Login your Moodle system as an admin to add the Classin tool in the system. a) Where to set the tool. 

From site administration –>Plugins->Activity modules->Manage activities page 

lbplntEq9NJP lZaALeBCLxP4jy cn1JDkSS8 iva 7md7fvLxda0ZsbP PQrORyOcF 5ZIWashB3BCoMiqyCertKJO3rXpXd y5byhLKYCU1Yq42drF2xxeXkD0bligqbdl 749L3qmJPTD6cwfK3k

Click Settings on External tool so now it’s on ‘Manage preconfigured tools’ page. Click ‘Add preconfigured tool’

5y VAjriPr k keA3g3sELH gFUie cx6xIU vEPhWTLhcrIh14smcnUXMHAVfFkL45v6PGUBYdAcEloLOEJMOMy7jKF A0y 05RA96ooN zDYTESh4csLXEjh9ErP70ieZnW1YHQvu6gPejlJrivpg5JOCwulkzUS2cICVCQt8vtrKb FupZo7wg0wmPtl7L3 6m8UYS1ou7Hfk4DQN5b6Y6lZGhWc9tcJzHZnTH8fr539XTzBJVeakOvJ7UD1sU7f6vlKMYmk7 5hGVexsV MDHN YYmmmEgc3vH1FDS83 E

b) Configure the external tool with the following: 

◆ Tool name: TP-Classin (or what you want the tool to be called),

◆ Tool URL: Paste the LTI URL from Step 2. 

◆ Consumer key: Paste the LTI Key from Step 2. 

◆ Consumer secret: Paste the LTI Secret from Step 2. 

◆ Tool configuration usage: “Show as preconfigured tool when addinganexternal tool” 

◆ Default launch container: “Embed, without blocks” 

◆ Custom Parameters: not required. 

◆ Click save changes then it’ll be showed on the ‘Manage preconfigured tools’ page

heNIZXNpVvhAudvTrWbMBl73hmdp2oYvLmd924Py4q1djUHnhF2enyurOYiqy 0dWbvuvAnCh3ByZllyURmNBUXf62FRV6GQShzLxowHmZ1nQQL3wDY270rcC6fMm5FiwdCjytkTt uiYXaBcodYqpUMpHgMnwkIFIQo71jMvjvsDGArE2vLC2Hp jWu09rZbW8XPFbyskBcx72U4BbP8JCx3blI 1tuWXI9eGkkl02igOF rdzEa9TDLNSSzcmCMbJRykcskId8XeHOT362U vuKeCqqz9AGXOnH4ukbADhuM

MpHgMnwkIFIQo71jMvjvsDGArE2vLC2Hp jWu09rZbW8XPFbyskBcx72U4BbP8JCx3blI 1tuWXI9eGkkl02igOF rdzEa9TDLNSSzcmCMbJRykcskId8XeHOT362U vuKeCqqz9AGXOnH4ukbADhuM

STEP 4: SET UP THE TOOL IN COURSE #

 

Login your Moodle system as admin or teacher of the course to set up the tool

a) In a course, with the editing turned on, choose ‘External tool’ fromthe activitychooser. 

b) Give it a name for example ‘Classin-Classroom’ and, if needed, a description. 

c) Select the Preconfigured tool as ‘TP-CLASS’ which is configured on step 3 

d) Specify the Launch container (option, can leave it with the default value) 

e) Specify the privacy settings 

f) Save the changes. And it’s listed in the course.

FLAeSjJU5Qoc56 NENpJCjwg15oAVh3u 4UhfuofMxKl6bOTCpMQeYLcYzXcWSZMD MZ4oTCvs5FGJq6OhgA2lTy wewXVA2YESghXuKvFu96shro1JCX74HsC fJfkL5CPocku9DRn28jjQRE8OhHc

 

STEP 5: USE THE TOOL IN COURSE #

For admin or teacher in a course, click the tool to enter the ClassIn page. 

a) The on going & up coming online classes in the course is showed on the page with the enter, edit and remove button. 

b) Can create a new online class for the course on this page. 

c) When create a class, you can put a name, start time, duration and the record options. The teacher of this class should be the creator. 

For Student in a course, this Classin page will also show the online classes list. And the enter classroom button to invoke the online classroom. But there’s no other operation provided on the student’s page.

G5xqQ8wqHbfvGSe9pR9k6AigibB52 SCcAc8NHznc7CxFCuZ9poY2xnH5cLplYVepe6fp9 p4zco5V969T0zY zXr RkBAqtblkWeaeSlmV9 mNAxWTEFxx tAaS6yy Lyp61kJ8BlDC637y0RhW94