11. Configure the Website integration.

The website integration add-on allows integrating your open edX LMS site with an external CMS site. The same way edX.org operates its site.

Open edX is a powerful platform for operating your online courses, but it may not meet your flexibility requirements in terms of content management capabilities. Usually, our customers want to build engaging and customized pages for their home, course catalog, and course description pages. This type of customization can be achieved in an external CMS system like WordPress where customers can build the aforementioned pages according to their needs. The Open edX platform will be used only to operate the courses.

eduNEXT, as a pioneer and active member of the Open edX community, has created tools to allow these types of integrations. We developed a WordPress plugin to simplify the configuration and extend the possibilities of your online learning site.

In the following instructions, you will find all the relevant information to configure the Open edX LMS site as well as the WordPress site to have the integration work:

11.1. Integration requisites.

  • It is required to have your LMS site in a domain of your own.

  • Create and/or establish the CMS site where you will control all the marketing content.

  • Your WP site must share the same domain extension that your LMS site.

E.g. The LMS site is courses.yourdomain.com; the WP site is yourdomain.com

11.2. Configuration steps.

11.2.2. Web site URL mapping.

One of the key objectives of the Website integration is to delegate the publication of certain pages to the CMS (WordPress) in order to have a broader functionality and more customization options for those contents.

These fields need to be configured with the URLs that you want to reach instead of the normal Open edX pages. Here is the list of pages that will be replaced and need to be configured here with the final URL of your WordPress site:

  • ROOT: Your initiative’s homepage.

  • COURSES: The course list or course catalog page.

  • ABOUT: The “About Us” page.

  • FAQ: The “Frequently asked questions” page.

  • TOS: The “Terms of Service” page.

  • PRIVACY: The “Privacy policy” page.

  • HONOR: The “Honor code” page.

  • CONTACT: The “Contact us” page.

MKTG URLs

11.3. Configure the WordPress site.

11.3.1. Install and activate the Open edX LMS and WordPress integrator Plugin.

  1. Go to the plugins section on the left panel in your WordPress site and select add new.

  2. Download the plugin from the EMC at Open edX LMS and WordPress integrator.

  1. On the plugins page, Select upload plugin.

  2. Select the compressed file from your computer,Install, and activate the plugin.

../../_images/mktg_addon_upload_plugin_pc.gif

11.3.2. Configure the Open edX LMS and WordPress integrator Plugin.

  1. Select on the left-panel Settings, the Open EDX WordPress Integrator plugin.

Configure the plugin.

2. Set the URL of your Open edX site.In this field, you should place the LMS domain or subdomain. For example https://yourlmsdomain.com

Configure the plugin-general settings.

Please keep the following properties unchanged.

  • Name of the shared cookie that signals an open session.

  • Name of the shared cookie that holds the user information.

  • Client id.

  • Client secret.

  • Login location (advanced).

  • Registration location (advanced).

  • Dashboard location (advanced).

11.3.3. Add an Open edX user menu on the Wordpress side.

  1. We will now configure the login, register, and user menu on the WordPress main page. Select appearance- Menus.

  • Locate the main menu of your WordPress site.

../../_images/mktg_addon_configure_plugin_menus.gif
  1. Locate Open edX WP integrator menu on the left panel, and add the following buttons:

  • Login/user menu.

  • Register Btn.

  • Dashboard.

  • Profile.

  • Account.

  • Sign out.

../../_images/mktg_addon_configure_plugin_add_menus.gif
  1. Place the buttons dashboard, profile, Account, Sign out inside the Login/User menu button as it is shown on the image.

../../_images/mktg_addon_configure_plugin_add_menus_order.gif

Select save.

Change the labels in the buttons according to your needs. These texts will be displayed as titles for those buttons on the WP page.

A functional example, after the configuration so far, will look like the image below.

../../_images/mktg_addon_upload_plugin_menusample.gif

11.4. Create the content for your course catalog and any static pages.

For this step, you have all the flexibility of WordPress at your disposal which was the main reason to have the integration in the first place. Our suggestion is for you to create at the very least:

  • The contents of your homepage

Additionally, you may want to create :

  • A course catalog page

  • A course description page for each of your courses

Optionally, you may also want to create pages for (some of) the following auxiliary pages:

  • The “About Us” page.

  • The “Frequently asked questions” page.

  • The “Terms of Service” page.

  • The “Privacy policy” page.

  • The “Honor code” page.

  • The “Contact us” page.

11.5. Add buttons placed on the course description pages to go to the course on the LMS site.

Use course enrollment buttons in your course description pages.

Once you have created a page to display the course description, you can place a button to enroll the students in the Open edX course. These buttons are added via a wordpress shortcode. Here is an example:

[edunext_enrollment_button course_id=”course-v1:demo-site+DMS105+2018”]

A more basic alternative for special cases, would be to just build a button with a link for doing the enrollments. This is not the best option, as the enrollment buttons explained above are much more useful, but in some cases it may be needed.

The button must have a link to the Open edX platform, which will perform the enrollment action. You can build the enrollment link in the following way:

https://yourlmsdomain/register?course_id=Course-ID&enrollment_action=enroll
  • Course ID. e.g course-v1:demo-site+DMS105+2018

  • Yourlmsdomain: The domain for your LMS site.