frumbert / wp2moodle--wordpress-

Wordpress to Moodle pass through authentication plugin (wordpress end)
27 stars 23 forks source link

Course attribute not working #35

Closed mediaformat closed 7 years ago

mediaformat commented 7 years ago

I can't seem to connect using the course attribute either, I've tried using a Moodle course-id as well as numeric course id, and course shortname to no avail.

Adding to my confusion is the example at wp2moodle.coursesuite.ninja where shortcode [ wp2moodle course=”course3″ ] links to course id 5.

Thanks

Using latest versions of wp2moodle WP 4.7.4 Moodle 3.2.2 (Build: 20170313)

frumbert commented 7 years ago

The identifier to use is not the numerical id of the course nor is it the shortname. The course id you're seeing in the demo could be any number and you may not know it at the wordpress end.

edit_course_settings

mediaformat commented 7 years ago

My bad, I totally missed that field. (the number part of the name with the fact that it takes alphanumeric characters threw me off).

Cheers