====== Moodle LMS ====== While Moodle is not a part of our system the eSMS is built with a MOODLE integration module {{wp>Moodle}} There are three (3) areas of integration. - Using Moodle Web Service - Using Moodle's database - Using eSMS Local Plugin ^ Moodle Function ^ Available with method ^ | Automatic log in from eSMS | Database Integration and Local Plugin| | formatted quizzes | Database Integration| | eLearning Integration for class | Moodle Web Service | | eLearning Integration syncing of class list | Moodle Web Service | ==== Setting Up Web Service ==== * Go to your Moodle Site Administration * Set up a Web Service. Read instructions here: https://docs.moodle.org/38/en/admin/setting/webservicesoverview. You should check the instructions specific to your version of mMoodle. * Web Services can be found under the Plugin section of Site Administration. Click overview to begin. * Enable Web Services * Enable Web Services **REST** Protocol * Create an Web Services user for the eSMS * recommended username: **esms** * Authentication method: **Manual account** * a long password which can also be a randomly generated one * Set the first name to **ESMS** * Set the last name to **API** * Make his account a "Moodle Site Admin" account * The email should be a working service account such as **wsapi@your-esms-domain.com** * ID Number: **ESMS000** * Create an new service * Name: **ESMS** * Enabled: **Yes** * Authorized users only: **Yes** * Save and add all functions * Add the Web Services user to the **authorized users** for newly created service * Create a token. Ideally the token should not expire. * Copy the token * Paste the token user the **Web Service Api Token** setting in the Moodle Setting on the eSMS. ==== Setting Up Database Integration ==== * Go to your eSMS Site's Settings Page * Locate the Moodle Settings * Fill in the database credentials * Database host and username * Database password * Database name * This integration only works with moodle using the original "mdl_" table prefix ==== Setting Up eSMS Local Plugin ==== * Request the Plugin from your Elixom SMS Provider. * Install Plugin on your Moodle site * Go to your eSMS Site's Settings Page * Locate the Moodle Settings * Turn on the Local Plugin Available setting * Fill in the Moodle Website setting with the top level url of your Moodle site. ==== Setting Up Moodle Exam ==== If Moodle Exam module