GithubHelp home page GithubHelp logo

ctchanandy / moodle-mod_advmindmap Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 2.0 228 KB

Mindmap plugin for Moodle 2.X with additional features, original module developed by ekpenso.com

PHP 99.58% CSS 0.42%

moodle-mod_advmindmap's Introduction

Advance Mindmap module for Moodle 2.x
-------------------------------------

==Author==
Andy Chan
Contributed by the project "Learning 2.0
An Online Platform and a Teacher Support Network for Curriculum and Assessment Innovation in Liberal Studies for the NSS Curriculum"
(2008-2012, http://learn20.cite.hku.hk)

==Description==
This is a modification of the original Mindmap module for moodle formerly found on ekpenso.com. 
This Advance Mindmap module allows you to create and save simple mindmaps from within moodle.

Added features include:
- Every user now have a separate mindmap in one single activity, with links to view others' mindmap.
- Dummy group mode: multiple mindmaps with simple group name that everyone can view and edit (for group mindmapping without having to setup groups in the course) 
- Lock mindmap: prevent editing of mindmap when someone is editing it during group mindmapping

Currently, it is not backward compatible with Moodle 1.9x, please install it on Moodle 2.x only.

==Installation==
- Copy the "/advmindmap" folder and place it into the /mod directory
- Login as administrator
- Go to the "Notifications" page under "Site administration"
- Moodle should detect a new module automatically, follow the onscreen instruction to install it

==FAQ==
Q1: How do I add a child node in 2nd, 3rd, 4th...nth level?
A1: First, select the node you want to add child node to, then click the "+" icon. You can also press the "Insert" button on your keyboard.

Q2: How to prevent students from viewing others' mindmap?
A2: Override the permission of the activity: remove "View Other" from student role.

Q3: I did not saw the mind map editor/ I only saw a blank page, how do I created a mind map?
A3: Please make sure you have installed Adobe Flash Player.

==Links==
You can also take a look at another fork of the mindmap module for Moodle 2.X by t6enis here
https://github.com/t6nis/moodle-mod_mindmap

Thanks to original mindmap module author: Andreas Geier
Link: https://github.com/functino/Moodle-Mindmap-Module

Plugin icon is from the "Onebit" icon set downloaded from Icojam
Link: http://www.icojam.com/blog/?p=177#more-177

moodle-mod_advmindmap's People

Contributors

ctchanandy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

moodle-mod_advmindmap's Issues

Make icon purpose more obvious: Tooltips for icons; "Save changes" prompt

Hello,

Thanks for maintaining this very useful plugin! However, there are a couple of usability issues which have caused lost work from our observations. It's very easy to overlook the little "disk" icon, and loser one's mind map drawing after exiting the page. This has happened numerous times to us.

It would be very helpful if Mind map would give an alert dialog or something to prompt users to save changes before they exit the mind map canvas page.

Also, tooltips on toolbar icons and a "Save Changes" button under the canvas might also be Moodle-consistent ways to help users use the plugin and avoid losing their work.

Thank you!

Error in event class

I believe that's there is a typo in

classes/event/course_module_instances_list_viewed.php

where the class is defined without the "s" and this causes a fatal php error in index.php line 44.

A couple of errors.

I want to join the post. A couple of errors.

  1. Why do some shows an error that no students. If you go on this link, then you get on any site Moodle, where he also says that there is no information about the error.
  2. When you press the "Continue" button, then dumped in general and of course you get to the general menu Bibliokluba.

Embedded images in intro not displayed.

The intro text must be pre-processed to get the links to images or video embedded resolved to a real link, otherwise the link contains only @@PluginFile@@

The view.php around line 258 should be changed as follow:

if (!empty($advmindmap->intro)) {
echo $OUTPUT->box(format_module_intro('advmindmap', $advmindmap, $cm->id), 'generalbox', 'intro');
}

Students not enlisted below the mindmap in "All Participants" mode

There's a bunch of lines that are too legacy into view.php, along the students searching. Using the hardcoded value 5 to get all the students in a course, is not valid anymore in new setups of moodle.
The suggestion is to change the code as follow (diff raw)

--- a/view.php
+++ b/view.php
@@ -454,14 +454,11 @@ if (has_capability('mod/advmindmap:viewother', $context)) {
echo $OUTPUT->footer();
die;
}

  •        // Get all students in the course
    
  •        // Get all students in the course able to view mindmaps
         $context = context_course::instance($course->id);
    
  •        $params = array($context->id, 5);
    
  •        $sql = "SELECT u.id
    
  •                FROM {role_assignments} AS a, {user} AS u 
    
  •                WHERE contextid = ? AND roleid = ? AND a.userid = u.id
    
  •                ORDER BY u.lastname ASC";
    
  •        if ($students = $DB->get_records_sql($sql, $params)) {
    
  •   $students = get_enrolled_users($context);
    
  •        if (count($students) > 0) {
             $students = array_keys($students);
         } else {
             notice(get_string('errornostudentincourse', 'advmindmap'));
    

Typo in english language

In line 58 the string should be corrected as follow:

$string['notavailable'] = 'Not available yet';

Git release

Hi,
Not really an issue, but it coul'd be interesting to have releases or tagged versions in the Git. Like this we could automatised update plugin from Git for Moodle installations. It's sometimes a prerequisite for plugin installation autorisation like in my organisation :-(

Cheers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.