Forums | Mahara Community

Developers /
Plugins for Mahara 1.4


Geoff Rowland's profile picture
Posts: 108

21 May 2011, 10:57

I have just tested and, if necessary, updated some recently released plugins with the Mahara 1.4 release candidate. The following notes may be of use to others testing/developing for 1.4

Freemind Flash plugin - No change required for 1.4 Smile

Jmol NIH and Chem 2D NIH plugins - each needed a minor tweak to allow for new menus in 1.4. Checks for the Mahara release to be backwards compatible with 1.3 (and 1.2)

For the lib.php of eachplugin,  get_catgories() was updated to:

    public static function get_categories() {
        //Check Mahara release and change menu for Mahara 1.4
          require_once(get_config('libroot') . 'version.php');
          $release = $config->release;
          if ($release < 1.4) {
            return array('feeds');
        }
        return array('external');
    }

The CPD plugin needed a few more changes to fit with the new menus. So, I have set up separate branches on Github. 1.3_STABLE for 1.3 (and 1.2)  and master for 1.4

François Marier's profile picture
Posts: 411

21 May 2011, 21:10

Hi Geoff,

Thanks for sharing this.

If you feel like it, feel free to paste your notes on the wiki as well. Maybe on as a subpage of this page?

  https://wiki.mahara.org/index.php/Developer_Area/Plugins

Cheers,

Francois

Geoff Rowland's profile picture
Posts: 108

22 May 2011, 15:15

OK

I have added a Wiki page here

https://wiki.mahara.org/index.php/Developer_Area/Plugin_migration_between_Mahara_1.3_and_1.4

Hope it is in an appropriate format, though it provided an opportunity to try out some Wiki syntax Wink

François Marier's profile picture
Posts: 411

22 May 2011, 18:34

I really like the table layout. It makes it incredibly clear and readable.

Cheers,

Francois

4 results