Edmo – Moodle Theme Documentation

With Moodle V4.0, V4.2, 4.3+

With Moodle V4.0, V4.2, 4.3+

This doc will show you how to install Edmo demo content on your site.

Step 1. Create database

Go to your phpmyadmin and create a database.

Step 2. Import demo SQL file

Import the edmo.sql file

Step 3. Upload files

Now, you need to download the demo_files.zip file and the download link is available inside the Links.txt file of the unzipped file. After downloading then upload the demo_files.zip to your web server, and extract it.

You can also upload the demo_files folder to your web server using an FTP client, such as FileZilla (recommended).

After that, upload the edmo.zip theme file on demo_files/theme

Upload blocks.zip all files on yoursite/blocks

You should paste all blocks properly. Please unzip the blocks.zip file from the downloaded folder and then open the blocks folder now copy all blocks folders and paste those into your site block folder.

Step 4. Upload moodle data files

Now, you need to download the moodledata.zip file and the download link is available inside the Links.txt file of the unzipped file. After downloading then upload the moodledata.zip archive to your web server, outside your webroot.

Your webserver has read-write permissions to the moodledata directory. Also, please visit Moodle.org to understand more details about the permissions.

Step 5. Configure your config.php

Now you have to configure the config.php file.

  1. Update the config.php file from the Moodle root on your web server.
  2. Update the database name, user, and password to match the new database credentials.
  3. Update the database port and host.
  4. Update the website root to your website URL, or your localhost address (e.g., localhost/moodle/edmo-4.0.4)
  5. Update the “dataroot” to match the location of the moodledata directory.
  6. Update the “directory permissions” to the directory permissions set for your moodledata directory.
Step 6. Login

Once the Edmo demo installation is completed, you can now login to your new Edmo website with the following administrator credentials.

Go to {yoursite.com}/login/index.php to login directly.

USERNAME: edmo
PASSWORD: EdmoPass1@

Step 7. DB search and replace

After logging in, navigate directly to {yoursite.com}/admin/tool/replace/ via your web browser’s address bar and search and replace URL.

You need to perform a search within the whole database for the value based on your seleted moodle version:

http://localhost/moodle/edmo-4.0.4/

or

http://localhost:8888/moodle/edmo-4.2/

0r

http://localhost:8888/moodle/edmo-4.3/

and then replace it with your own site URL.

Step 8. Purge the Moodle cache

After logging in, navigate directly to {yoursite.com}/admin/purgecaches.php via your web browser’s address bar and click the ‘Purge all caches’ button.

This process may take several minutes.

Step 9. RTL Setup

If you want to use, RTL then installs RTL supported language from Site Administration->Language settings. And then, go to the following example link and update caches.

yourdomain/theme/index.php?lang=ar

Add URL lang value as your language short form.

Your installation of Edmo is complete!

Please don’t forget to change the administrator password.