How to recode custom module from 1.9.9 to 2.2.1

How to recode custom module from 1.9.9 to 2.2.1

by sipra roy -
Number of replies: 4

Hi Everyone,

I've a custom module named AHP Assessment in 1.9.9. For my project purpose need to upgrade that module to 2.2.1 version. Otherwise when I am upgrading the code base it not taking as a upper version.

Need to customize the module to support in 2.2.1 version.

What are the basic steps to customize from 1.9.9 to 2.2.1?

Please advice me.

Thanks in advance.

Average of ratings: -
In reply to sipra roy

Re: How to recode custom module from 1.9.9 to 2.2.1

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

This should get you started:

http://docs.moodle.org/dev/Migrating_contrib_code_to_2.0

Average of ratings: Useful (2)
In reply to Davo Smith

Re: How to recode custom module from 1.9.9 to 2.2.1

by sipra roy -
Thanks smile
In reply to sipra roy

Re: How to recode custom module from 1.9.9 to 2.2.1

by Ciaran Irvine -

Hi sipra (and anyone else with a 1.9 module that needs upgrading)

At Totara we built a tool to help us convert lots and lots of 1.9 code. You may find it useful. We've released it, freely available to the Moodle community. See http://moodle.org/mod/forum/discuss.php?d=198711 this post for further details. It doesn't do everything but it should at least be a help!

Kind Regards,

Ciaran