Wednesday 10 April 2013

Moodle & Mahara plugins integration for Portfolio assignment submission



Greetings everyone,

This is a Portfolio assignment submission plugin in moodle and mahara however, we just need to focus on moodle. Basically, we need to have moodle 2.0 + and mahara 1.2 + but I tried it with moodle 2.3 and Mahara 1.4.7.

First, we need to get 2 plugins that are relevant for our integration.
Here's the link
local-mahara-moodle21.tar.gz
mod-assignment-type-mahara-moodle21.tar.gz
Or you guys can just wget to /tmp


Once we download let's get back to Linux server and to terminal or konsole and lets do 1 plugin at a time. First we untar local-mahara-moodle21.tar.gz

# tar -zxvf local-mahara-moodle21.tar.gz

Lets rename the folder to mahara and copy it to /var/www/html/moodle/local/ folder

# mv mahara-contrib-local-mahara/ mahara

# cp -varpf mahara /var/www/html/moodle/local

Let's not forget to rename to local-mahara plugin in a sense to back it up if there is any problem.

# mv mahara mahara-local

Now, lets' untar other plugin rename it to mahara and copy it to /var/www/html/moodle/mod/assignment/type/

# tar -zxvf  mod-assignment-type-mahara-moodle21.tar.gz
# mv mahara-contrib-mod-assignment-type-mahara/ mahara
# cp -varpf mahara /var/www/html/moodle/mod/assignment/type/

Now, let's just browse to those folders to check if its successfully and finally, don't forget to restart apache server

# cd /var/www/html/moodle/local
# cd  /var/www/html/moodle/mod/assignment/type/
# /etc/init.d/httpd restart

Now, once this is all done open up to browser and login to moodle. You will see following page and asking to "upgrade Moodle database now".

Once you click on that it will install the plugins, save changes and your done.

In the Site Administrator ==> Networking ==>  Manage Peers ==>  Mahara Host ==> Services Tab

We should be able to see new plugin "Extra Mahara MNet Module"
Click on Subscribe and save changes
The fact is that just by doing this it won't work therefore, we need to enable Assignment (2.2).

In the Site Administrator ==> Plugins ==> Plugins Overview ==> Manage activities
Here, we should be able to enable Assignment (2.2).

To confirm if this works or not, please do create a course and then click "Turn editing On"  
Browse inside the course and you will see Add an activity or resource.
Click on Add an activity or resource, you will be able to Mahara Portfolio.
Click on Mahara Portfolio and enjoy your work.

Cheers

 


 

3 comments:

  1. Hi, followed your steps, but I do not appear in assignment 2 on portfolio mahara.

    ReplyDelete
    Replies
    1. Hi, can you please elaborate your step.
      I am sure you did all those step but tell me exactly what u get.

      If you just tell me you didnt get assignment 2 then I can only think that you might not have enabled it.

      Delete
  2. After enable Assignment 2.2, I saw one line of message on top, "This activity is based on an older assignment module." Will it be a problem later?

    ReplyDelete