diff options
Diffstat (limited to 'sqlbox/README.txt')
-rw-r--r-- | sqlbox/README.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sqlbox/README.txt b/sqlbox/README.txt index 3b8a9ec..5c5931a 100644 --- a/sqlbox/README.txt +++ b/sqlbox/README.txt @@ -5,17 +5,17 @@ this module template code. * Unzip the archive and read this file -* Rename the newmodule/ folder to the name of your module (eg "widget"). +* Rename the sqlbox/ folder to the name of your module (eg "widget"). The module folder MUST be lower case. You should check the CVS contrib area at http://cvs.moodle.org/contrib/plugins/mod/ to make sure that your name is not already used by an other module. * Edit all the files in this directory and its subdirectories and change - all the instances of the string "newmodule" to your module name + all the instances of the string "sqlbox" to your module name (eg "widget"). If you are using Linux, you can use the following command - $ find . -type f -exec sed -i 's/newmodule/widget/g' {} \; + $ find . -type f -exec sed -i 's/sqlbox/widget/g' {} \; -* Rename the file lang/en/newmodule.php to lang/en/widget.php +* Rename the file lang/en/sqlbox.php to lang/en/widget.php where "widget" is the name of your module * Place the widget folder into the /mod folder of the moodle @@ -30,7 +30,7 @@ this module template code. the module's tables successfully created * Go to Site Administration > Plugins > Activity modules > Manage activities - and you should find that this newmodule has been added to the list of + and you should find that this sqlbox has been added to the list of installed modules. * You may now proceed to run your own code in an attempt to develop |