Title: Moodle Course List Widget
Author: kennibc
Published: <strong>febrero 28, 2013</strong>
Last modified: febrero 28, 2013

---

Search plugins

![](https://ps.w.org/moodle-course-list-widget/assets/banner-772x250.png?rev=674591)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/moodle-course-list-widget_577d8a.svg)

# Moodle Course List Widget

 By [kennibc](https://profiles.wordpress.org/kennibc/)

[Download](https://downloads.wordpress.org/plugin/moodle-course-list-widget.1.0.zip)

 * [Details](https://arg.wordpress.org/plugins/moodle-course-list-widget/#description)
 * [Reviews](https://arg.wordpress.org/plugins/moodle-course-list-widget/#reviews)
 *  [Installation](https://arg.wordpress.org/plugins/moodle-course-list-widget/#installation)
 * [Development](https://arg.wordpress.org/plugins/moodle-course-list-widget/#developers)

 [Support](https://wordpress.org/support/plugin/moodle-course-list-widget/)

## Description

This plugin will allow you to display a list of Moodle courses for a specific user
of Moodle. This is ideal for teachers who use WordPress for public communication
and Moodle for private classroom activities. This widget will allow the teacher 
to display a list of their courses so that parents and students can quickly navigate
between WordPress and Moodle.

This plugin is designed for use in larger institutions and must be configured by
a web administrator. There are 3 places in the code where you must make changes 
to get this plugin working properly. Each place is clearly commented with //CHANGE
and an explanation of what needs to be changed. Please see Installation for additional
information on how to configure and install.

To see the plugin in action please view http://iblog.dearbornschools.org/webmaster

## Screenshots

[⌊Places where you must change the code are highlighted⌉⌊Places where you must change
the code are highlighted⌉[

Places where you must change the code are highlighted

[⌊Here is the widget settings the end user will see.  The can add a title to the
widget and add the Moodle User Account that they want to display courses for.⌉⌊Here
is the widget settings the end user will see.  The can add a title to the widget
and add the Moodle User Account that they want to display courses for.⌉[

Here is the widget settings the end user will see. The can add a title to the widget
and add the Moodle User Account that they want to display courses for.

[⌊Frontend display of courses.⌉⌊Frontend display of courses.⌉[

Frontend display of courses.

## Installation

This section describes how to install the plugin and get it working.

Install: 1. Upload `moodle-courselist-widget.php` to the `/wp-content/plugins/` 
directory 1. Activate the plugin through the ‘Plugins’ menu in WordPress 1. Place
the new Moodle Courselist widget into your theme’s sidebar.

IMPORTANT: You will need to edit the code of this plugin in 3 places in order for
this to work properly. This will most likely involve a web administrator as you 
will need database connection settings for Moodle. This plugin is designed for use
by educational institutions. Changes are clearly commented in the code with //CHANGE.

Here are the code changes you must edit:

Line 35 (Your Moodle Site URL)- action=”http://yourmoodlesiteurl.com/login/index.
php

Line 44 (Moodle Database Connection)- mysql_connect(“localhost”,”MySQLusername”,”
MYSQLpassword”);

Line 76 (Your Moodle Site URL)- “http://yourmoodlesiteurl.com/course/view.php?id
=’.$course->courseid.’”

## FAQ

  What version of Moodle and WordPress is required?

This plugin has been tested and approved for Moodle version 2.4 and WordPress 3.5.
I am pretty sure it will work with any version of WordPress 3+.

  I get a MySQL connection error.

You have not properly edited the plugin code. You must provide a connection to your
Moodle database. This should be a READ ONLY user account.

  I edited the code and still get an error.

Most likely your database connection settings are incorrect. Please recheck and 
verify you can connect using the user and password for MySQL.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Moodle Course List Widget” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ kennibc ](https://profiles.wordpress.org/kennibc/)

[Translate “Moodle Course List Widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/moodle-course-list-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/moodle-course-list-widget/),
check out the [SVN repository](https://plugins.svn.wordpress.org/moodle-course-list-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/moodle-course-list-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/moodle-course-list-widget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release.
 * Display Moodle course List with direct links to courses.
 * Checkbox Toggle display of Moodle login form below list of courses.

## Meta

 *  Version **1.0**
 *  Last updated **13 anyos ago**
 *  Active installations **20+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/moodle-course-list-widget/)
 * Tags
 * [education](https://arg.wordpress.org/plugins/tags/education/)[k-12](https://arg.wordpress.org/plugins/tags/k-12/)
   [moodle](https://arg.wordpress.org/plugins/tags/moodle/)[schools](https://arg.wordpress.org/plugins/tags/schools/)
   [widget](https://arg.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://arg.wordpress.org/plugins/moodle-course-list-widget/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/moodle-course-list-widget/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/moodle-course-list-widget/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/moodle-course-list-widget/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/moodle-course-list-widget/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/moodle-course-list-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/moodle-course-list-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/moodle-course-list-widget/reviews/)

## Contributors

 *   [ kennibc ](https://profiles.wordpress.org/kennibc/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/moodle-course-list-widget/)